72 lines
2.1 KiB
JavaScript
Raw Normal View History

2019-11-13 11:03:30 -04:00
module.exports = {
from: {
email: "noreply@teller.exchange",
name: "Teller Network"
},
templates: {
"sign-up": {
subject: "Signup email",
html: "sign-up.html",
text: "sign-up.txt"
},
contracts: {
2019-11-14 09:57:44 -04:00
"0xFCC8175384c199C3Bc7a43c3583CbdcEf74ceC24": {
2019-11-13 11:03:30 -04:00
events: {
2019-11-14 09:57:44 -04:00
"escrow-creation": {
2019-11-13 11:03:30 -04:00
ABI: {
name: "Created",
type: "event",
inputs: [
{ indexed: true, name: "offerId", type: "uint256" },
{ indexed: true, name: "seller", type: "address" },
{ indexed: true, name: "buyer", type: "address" },
{ indexed: false, name: "escrowId", type: "uint256" }
]
},
index: "seller",
template: {
2019-11-13 19:52:05 -04:00
subject: "New trade!",
2019-11-14 09:57:44 -04:00
html: "escrow-creation.html",
text: "escrow-creation.txt"
2019-11-13 11:03:30 -04:00
}
},
2019-11-14 09:57:44 -04:00
"escrow-funded": {
ABI: {
2019-11-14 09:57:44 -04:00
name: "Funded",
type: "event",
inputs: [
2019-11-14 09:57:44 -04:00
{ indexed: true, name: "escrowId", type: "uint256" },
{ indexed: true, name: "buyer", type: "address" },
2019-11-14 09:57:44 -04:00
{ indexed: false, name: "expirationTime", type: "uint256" },
{ indexed: false, name: "amount", type: "uint256" }
]
},
index: "buyer",
template: {
2019-11-14 09:57:44 -04:00
subject: "Your escrow has been funded!",
html: "escrow-funded.html",
text: "escrow-funded.txt"
}
},
"escrow-paid": {
ABI: {
name: "Paid",
type: "event",
inputs: [
{ indexed: true, name: "escrowId", type: "uint256" },
{ indexed: true, name: "seller", type: "address" }
]
},
index: "seller",
template: {
subject: "Your escrow has been paid!",
html: "escrow-paid.html",
text: "escrow-paid.txt"
}
2019-11-13 11:03:30 -04:00
}
}
}
}
}
};