compassDAO
  • Welcome to compassDAO
  • General Information
    • What is compassDAO?
    • Vision
    • Mission
    • Value
    • Why compassDAO?
    • What we offer?
  • How to use
    • compassStats
      • For All Users
        • Connect Wallet
        • Set Up Notifiers
        • Schedule Tasks
        • Set Alerts
      • For Devs (Data Contributor)
        • API
        • Best Practices
          • Get the balance of an address
          • Curve 3pool Proportion Monitoring
          • Curve 3pool Big Withdrawn Monitoring
    • compassSafe
      • Get Started
      • Set Up Safe Module
      • Set Role
      • Set Member
      • Interact With Dapps
      • Disable Safe Module
      • Best Practices
        • DeFi - Lending (Aave)
        • DeFi - Dex (Uniswap V3)
      • For Devs
        • execTransactionFromModule
        • execTransactionsFromModule
      • Versions
      • FAQ
  • FAQ
    • Untitled
  • Links
    • Website
    • Github
    • Twitter
    • Discord
Powered by GitBook
On this page
  1. How to use
  2. compassStats

For Devs (Data Contributor)

This doc is for the users who are able to write JS

  • [Provider] https://docs.ethers.io/v5/api/providers/provider/

sdk.getDefaultProvider(network: "ethereum" | "ropsten" | "bsc" | "polygon" | "ftm" | "avax" | "optimism" | "arbitrum" | "moonriver" | "harmony")
  • [ethers] https://github.com/ethers-io/ethers.js/blob/master/packages/ethers/lib/ethers.d.ts

  • [fetch] https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch

  • [cache]

storage.get("name") 
storage.set("name", "value")

PreviousSet AlertsNextAPI

Last updated 1 year ago