Skip to content

Commit

Permalink
WIP: RFQ Relayer doc
Browse files Browse the repository at this point in the history
  • Loading branch information
lawsonkight committed Sep 20, 2024
1 parent 6cb652a commit 81ea30d
Show file tree
Hide file tree
Showing 6 changed files with 164 additions and 85 deletions.
6 changes: 4 additions & 2 deletions docs/bridge/docs/Contracts/05-RFQ.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

**Address**: `0x00cD000000003f7F682BE4813200893d4e690000`

| Chain | Address |
| -------- | ------------------------------------------------------------------------------------------------------------------------------------ |
RFQ contract source code can be found [here](https://github.com/synapsecns/sanguine/tree/master/packages/contracts-rfq), along with generated documentation [here](https://vercel-rfq-docs.vercel.app/contracts/FastBridge.sol/contract.FastBridge.html).

| Chain | Address |
| -------- | ------- |
| Arbitrum | `0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E` [](https://arbiscan.io/address/0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E) |
| Base | `0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E` [](https://basescan.org/address/0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E) |
| Ethereum | `0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E` [](https://etherscan.io/address/0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E) |
Expand Down
4 changes: 2 additions & 2 deletions docs/bridge/docs/Routers/CCTP/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ As a modular component of [Synapse Router](../Synapse-Router), CCTP can be confi

### Relayer

Go application which uses on-chain events with off-chain message state to process transactions. CCTP Relayer can be run by anyone, and is easily observable.
A Golang application which pairs on-chain events with stored message states to process transactions. A CCTP Relayer can be run by anyone, and is easily observable.

## Behavior

CCTP Relayer polls for new transactions and and [message state](https://pkg.go.dev/github.com/synapsecns/sanguine/services/cctp-relayer@v0.10.0/types#MessageState) updates from CCTP contracts on-chain, which are stored in an off-chain database.
CCTP Relayer polls for new transactions and and [message state](https://pkg.go.dev/github.com/synapsecns/sanguine/services/cctp-relayer@v0.10.0/types#MessageState) updates from CCTP contracts on-chain, to store in an off-chain database.

Successful attestations fetched from the [Circle API](https://developers.circle.com/stablecoin/reference) are submitted to the destination CCTP contract, and marked as `Complete` once a transaction receipt is received.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ The Synapse RFQ contract source code can be found [here](https://github.com/syna

| Chain | Address |
| -------- | -------------------------------------------------------------------------------------------------------------------------------- |
| Arbitrum | [0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E](https://arbiscan.io/address/0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E) |
| Base | [0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E](https://basescan.org/address/0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E) |
| Ethereum | [0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E](https://etherscan.io/address/0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E) |
| Optimism | [0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E](https://optimistic.etherscan.io/address/0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E) |
| Scroll | [0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E](https://scrollscan.com/address/0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E) |
| Linea | [0x34F52752975222d5994C206cE08C1d5B329f24dD](https://lineascan.build/address/0x34F52752975222d5994C206cE08C1d5B329f24dD) |
| BNB Chain| [0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E](https://bscscan.com/address/0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E) |
| Blast | [0x34F52752975222d5994C206cE08C1d5B329f24dD](https://blastscan.io/address/0x34F52752975222d5994C206cE08C1d5B329f24dD) |
| Arbitrum | `0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E` [](https://arbiscan.io/address/0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E) |
| Base | `0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E` [](https://basescan.org/address/0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E) |
| Ethereum | `0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E` [](https://etherscan.io/address/0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E) |
| Optimism | `0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E` [](https://optimistic.etherscan.io/address/0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E) |
| Scroll | `0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E` [](https://scrollscan.com/address/0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E) |
| Linea | `0x34F52752975222d5994C206cE08C1d5B329f24dD` [](https://lineascan.build/address/0x34F52752975222d5994C206cE08C1d5B329f24dD) |
| BNB Chain| `0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E` [](https://bscscan.com/address/0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E) |
| Blast | `0x34F52752975222d5994C206cE08C1d5B329f24dD` [](https://blastscan.io/address/0x34F52752975222d5994C206cE08C1d5B329f24dD) |

### On-Chain Architecture & Transaction Flow

Expand Down
Loading

0 comments on commit 81ea30d

Please sign in to comment.