@gluwa/slack-ethers-events-reporting
v0.0.1
Published
Reusable function to generate slack events reports
Downloads
3
Readme
@gluwa/slack-ethers-events-reporting
_ _ _ _ _ _ _
| | | | | | | | | | | | (_)
___| | __ _ ___| | ________ ___| |_| |__ ___ _ __ ___ ______ _____ _____ _ __ | |_ ___ ______ _ __ ___ _ __ ___ _ __| |_ _ _ __ __ _
/ __| |/ _` |/ __| |/ /______/ _ \ __| '_ / _ \ '__/ __|______/ _ \ \ / / _ \ '_ \| __/ __|______| '__/ _ \ '_ \ / _ \| '__| __| | '_ \ / _` |
\__ \ | (_| | (__| < | __/ |_| | | | __/ | \__ \ | __/\ V / __/ | | | |_\__ \ | | | __/ |_) | (_) | | | |_| | | | | (_| |
|___/_|\__,_|\___|_|\_\ \___|\__|_| |_|\___|_| |___/ \___| \_/ \___|_| |_|\__|___/ |_| \___| .__/ \___/|_| \__|_|_| |_|\__, |
| | __/ |
|_| |___/
Install @gluwa/slack-ethers-events-reporting
npm install @gluwa/slack-ethers-events-reporting
Directories
Use @gluwa/slack-ethers-events-reporting
import queryAndReportEvents from '@gluwa/slack-ethers-events-reporting'
await queryAndReportEvents(
contractName: string,
contractAddress: string,
contractAbi: JsonFragment[],
rpcUrl: string,
networkName: string,
networkChainId: number,
slackToken: string,
slackConversationId: string,
queryEventsTimeFrame = '24h' as string
)
Directory Tree
@gluwa/slack-ethers-events-reporting/
│ .prettierrc
│ CONTRIBUTING.md
│ package.json
│ README.md
│ tsconfig.json
│ tslint.json
└─── src/
│ index.ts
│ README.md
│ schema.ts
│ types.ts
│ utils.ts