LogoLogo
  • About Sweep
    • Savings bank for DeFi
    • Architecture
  • Components
    • Stabilizers
      • On-chain assets
      • Private tokens
      • Primary token dealer
      • Off-chain loans
      • Off-chain securities
    • Borrowing Opportunities
    • Borrowing process
  • Sweep Protocol
    • About Sweep
    • Buy and Sell
    • Asset Allocation
    • Interest and economics
    • Pegging
      • Balancer
    • Setting interest rate
    • Borrowing and Stabilizers
    • Multichain
    • Analytics
    • Collateral agent
    • Sweep coin
    • Governance
    • Surge Deal
  • Deployment
    • 🚀Arbitrum
    • 🚀Mainnet
    • 🚀Optimism
    • 🚀Base
    • 🚀Avalanche
    • 🚀Polygon POS
    • 🚀BNB Smart Chain
Powered by GitBook
On this page
  • Analytics
  • Events
  1. Sweep Protocol

Analytics

Last updated 1 year ago

The SweeprFi contains Node apps that will be helpful for marketmakers and borrowers.

Analytics

The is a Node.js server that returns information about Sweep coin deployments, AMMs, and Assets. It is configured to connect to all of the chains where Sweep is deployed.

Sweep protocol deploys the analytics server at / You can call it with a simple GET URL. The return data is in JSON format.

The in the repository describes the available actions. For example

  • returns the current state of each of the Sweep AMMs

  • returns the Assets (stabilizers) that can mint and borrow on the Arbitrum network.

Users can plug this data into a spreadsheet or other application, to build views of the system. For example, uses an add-in function called ImportJSON to load data from the Analytics server. Other cells in the sheet extract and present information with a table and a graph.

Events

The returns SWEEP mint, burn, and transfer events from the chains where Sweep is deployed. Users can modify it to show the chains and events that are important for their marketmaking.

github repository
Analytics Dashboard
https://sweepr-analytics.netlify.app/api
README
https://sweepr-analytics.netlify.app/api/amm
https://sweepr-analytics.netlify.app/api/sweep-minters?network=arbitrum
this Google Sheet
events log