Skip to content

Commit

Permalink
- add explorer link to notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyferion committed Jun 25, 2024
1 parent 743d70e commit 4ea7be2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tasks/Arbitrum Upkeeper/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ exports.handler = async function (credentials, context) {
notificationClient.send({
channelAlias: 'Hal Maxi Bot (tg)',
subject: 'Upkeep performed',
message: 'Arbitrum Upkeep. Transaction hash: ' + tx.hash
message: 'Arbitrum Upkeep. Transaction hash: ' + tx.hash + '. Explorer: https://arbiscan.io/tx/' + tx.hash
});
} catch (error) {
console.error('Failed to send notification', error);
Expand Down
2 changes: 1 addition & 1 deletion tasks/Avalanche Upkeeper/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ exports.handler = async function (credentials, context) {
notificationClient.send({
channelAlias: 'Hal Maxi Bot (tg)',
subject: 'Upkeep performed',
message: 'Avalanche Upkeep. Transaction hash: ' + tx.hash
message: 'Avalanche Upkeep. Transaction hash: ' + tx.hash + '. Explorer: https://snowtrace.io/tx/' + tx.hash
});
} catch (error) {
console.error('Failed to send notification', error);
Expand Down
2 changes: 1 addition & 1 deletion tasks/Base Upkeeper/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ exports.handler = async function (credentials, context) {
notificationClient.send({
channelAlias: 'Hal Maxi Bot (tg)',
subject: 'Upkeep performed',
message: 'Base Upkeep. Transaction hash: ' + tx.hash
message: 'Base Upkeep. Transaction hash: ' + tx.hash + '. Explorer: https://basescan.org/tx/' + tx.hash
});
} catch (error) {
console.error('Failed to send notification', error);
Expand Down
2 changes: 1 addition & 1 deletion tasks/Gnosis Upkeeper/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ exports.handler = async function (credentials, context) {
notificationClient.send({
channelAlias: 'Hal Maxi Bot (tg)',
subject: 'Upkeep performed',
message: 'Gnosis Upkeep. Transaction hash: ' + tx.hash
message: 'Gnosis Upkeep. Transaction hash: ' + tx.hash + '. Explorer: https://gnosisscan.io/tx/' + tx.hash
});
} catch (error) {
console.error('Failed to send notification', error);
Expand Down
2 changes: 1 addition & 1 deletion tasks/Polygon Upkeeper/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ exports.handler = async function (credentials, context) {
notificationClient.send({
channelAlias: 'Hal Maxi Bot (tg)',
subject: 'Upkeep performed',
message: 'Polygon Upkeep. Transaction hash: ' + tx.hash
message: 'Polygon Upkeep. Transaction hash: ' + tx.hash + '. Explorer: https://polygonscan.com/tx/' + tx.hash
});
} catch (error) {
console.error('Failed to send notification', error);
Expand Down
2 changes: 1 addition & 1 deletion tasks/Polygon ZkEVM Upkeeper/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ exports.handler = async function (credentials, context) {
notificationClient.send({
channelAlias: 'Hal Maxi Bot (tg)',
subject: 'Upkeep performed',
message: 'ZkEVM Upkeep. Transaction hash: ' + tx.hash
message: 'ZkEVM Upkeep. Transaction hash: ' + tx.hash + '. Explorer: https://zkevm.polygonscan.com/tx/' + tx.hash
});
} catch (error) {
console.error('Failed to send notification', error);
Expand Down

0 comments on commit 4ea7be2

Please sign in to comment.