Agoric Components Library
  • Welcome!
    • 🐇Getting Started
  • Smart Contracts
    • DeFi
      • 🤝Lending Protocol
      • 🤖Arbitrage Bot
      • 💧LP Stop Loss
      • 📈Like-peg Swap AMM
    • NFTs
      • 🎴NFT Marketplace
      • đŸ•šī¸NFT Character Builder
      • đŸ–ŧī¸NFT Drop
      • âš–ī¸Auction Mechanism
    • Governance
      • đŸ—ŗī¸Vote Counter
      • đŸ‘ĢGovernance Committee
    • Cross-chain
      • 💲Price Feed Oracle
      • 📃Akash Lease Management
      • 🌉Axelar Transfer
      • âš›ī¸Cosmos Hub ICA
      • ⏊IST & PSM Forwarder
  • Bounties
    • Open Bounties(none at this time)
    • Assigned Bounties
    • 🔎Agoric Swingset Contract Explorer
    • 🤖Inter Protocol Liquidation Bidding Bot
    • đŸ’ģContract Manages Akash-hosted Front End
  • 📜LEGAL
    • Disclaimer
Powered by GitBook
On this page
  • Summary
  • Details
  • Explore on GitHub=
  1. Smart Contracts
  2. Cross-chain

IST & PSM Forwarder

Smart contracts for swapping IST for stable tokens using the PSM

PreviousCosmos Hub ICANextOpen Bounties(none at this time)

Last updated 1 year ago

Limited Developer Support

All assets represented in this library are community built, which means limited support from the Agoric OpCo development team. Please use components, APIs, and front-ends with caution.

Summary

The IST & PSM Forwarder is a smart contract for interacting with Inter Protocol's Parity Stability Module (PSM) to exchange stable assets for IST. The contract:

  1. Sends the IST received to the destination Agoric address received as an input

  2. Trades that ERTP asset to the Agoric Parity Stability Module (PSM) in exchange for IST (assuming the PSM accepts this ERTP asset)

  3. Receives an ERTP asset over an IBC transaction and a destination Agoric address as inputs

Details

This contract will act as connective tissue to enable easier onboarding of IST from external stable tokens that are accepted by Inter Protocol's PSM (for example, Axelar_USDC).

Explore on GitHub=

https://github.com/pitalco/ist-forward
⏊
Page cover image