---
# System prepended metadata

title: 'Public Api:'

---

# Public Api:
https://github.com/Aurigami-Finance/aurigami-external-backend

- get Ply circulating supply
- get Ply total supply
- getAPYs
- getMarket APY

# App Api:
https://github.com/Aurigami-Finance/aurigami-internal-backend

- get ply circulating supply
- referral:
  - get referral list for an address
  - get referral rewards for an address
  - get refarral leaderboard
  - get referral slots in use
  - get referral status
  - get queuePosition, is newUser, deposited enough
- plygame

# Goku:
https://github.com/Aurigami-Finance/liquidation-bot-v2/tree/master/src

- Fetch New User:
  query new events, fetch new users and store in redis, timeout 120s
- Fetch users Balance:
  update user borrow balance from peeker contract, timeout 30 minutes
- Slow liquidation:
  filter users by borrow balance with a threshold, get liquidatable users, and liquidate them
- Fast liquidation:
  filter users by borrow balance and utilisation with threshold, get liquidatable users, and liquidate them
- Flash liquidation:
  get latest market info (market name, time and price), get liquiditable hypothetic users, and liquidate them, timeout 1s between each liquidator
  current liquidator:
    - 0x70D432Fa4e6CE7e2B5F9421F9d47DFAb5368285B
    - 0x6b5BEdb60A30cB2e44facCb4B82529924416a189
    - 0x29BC15A1942133a74f2F2F52600D19A4AaaDee46

# Buu:

https://github.com/Aurigami-Finance/oracle-bot/tree/takao/alerter-infura


- alerter - infura:
  check feed (get raw underlying prices), alert if outdated (10 minutes)

# GoHan:
https://github.com/Aurigami-Finance/liquidator-bot

- highUtilisation:
  check if looping user has utilisation > 99% or normal user > 90%, report users with high borrow balance and high utilisation
- highutil98:
  report high borrow balance and utilisation > 90%, skip looping user with util > 99.9%
- watcher:
  query event and update all users

https://github.com/Aurigami-Finance/pyth-oracle-bots

- pyth updator:
  update underlying prices by pyth contract if last update time > 5 minutes
  Updator address:         0xf9D72FED253bF10924cb501f254eFf112B6Fa203
- pyth monitor:
  check price difference between oracle and pyth each 10 minutes and report each 8am and 8 pm utc.

# ip
- aurimaster ec2-13-215-178-140.ap-southeast-1.compute.amazonaws.com
- auriapp 175.41.147.15
- auribot1 52.76.36.149
- auribot2 3.0.122.42
- auribot3 52.74.63.153