Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ChainToken marshalling * Ticker marshalling * Chore: docs * Scaffold FastBridge class * Scaffold FastBridgeSet class * Implement `getBridgeRoutes` * Add some initial values for RFQ contracts * Add coverage for `createNoSwapQuery` * Add fastBridgeContract * Implement `fastBridge.bridge()` * Initialize set of FastBridge modules * FastBridgeQuote type for current Quote structure * Add `applyQuote()` * Adjust getBridgeRoutes to current API * Implement `getAllQuotes` * Add API unit tests, make SDK tests pass * Add node-fetch@^2 for integration tests * Add URL, integration test * Add unit tests for quote pricing * Add some tests around zero quotes * Hardcode rounding tests * Use correct pricing algo * Add tests for FastBridgeSet * Fix: properly implement quote filtering * Add some units tests for FastBridge class * Mainnet API URL * Draw the rest of the owl * Fix: incorrect invariant * Temp FE fix: don't apply slippage to RFQ * [DROP IN PROD] Use local SDK for build * Add tests for expected `bridge()` behavior * Use correct tx.value * [REVERT IN PROD] up the deadline for RFQ * Update FastBridge bindings * Temp fix: support origin sender address * Update FastBridge addresses * Use only quotes with age of [0 .. 5) minutes * Skip tests: sending with non-zero gas rebate * Temp fix for zero gas airdrop for RFQ * Include origin/dest FastBridge address in api response * Discard quotes with non-relevant FastBridge address * Update addresses * Fix: tests * try to add rfq bridgestatus sdk call to fe * Fix: use snake case for api quote schema * Fix: tests * yarn lint:fix * Coverage for RFQ tracking * SDK: fix median time * Start using SDK to check status earlier * Revert "[REVERT IN PROD] up the deadline for RFQ" This reverts commit 8fae090. * Add bridgeTransactions reducer to host updated Txn flow * Expose helper hook `useBridgeTransactionsState` * _Transaction component using SDK for status * _Transactions component to render individual _Transaction * Implement SDK-based Pending Transaction flow * Persist _Transaction slice * _Transaction tracking newly fired txs * Provide Origin/Destination Token/Chain into _Transaction * Basic styled _Transaction component with SDK tracking * Add spacing between Tx * Updated FE transaction time estimation logic and interval check frequency * Revised the logic for estimating transaction completion time in _Transaction.tsx. Now, the system starts checking for transaction completion a few minutes before the estimated completion time. * Reduced the interval for checking the current time in _Transactions.tsx from 30 seconds to 5 seconds. * Adds try catch to prevent app crashing (#1762) * Fe/sorting wip (#1770) * Sorting wip * Show by latest * Merging sorting-j * Hides debugging related kappa and time * debug why new type isnt recognized * Convert transactions object to list * Render transactions in list * Check tx is stored before adding into _transaction * Check tx has been confirmed before adding to _transaction store * Sorting by descending timestamp * Allow clear tx functionality to persist * back to optimism mainnet rpc * Prevent refiring tx sdk queries if already complete * Mark tx as complete once kappa and isTxComplete avail * Check if store marked Tx complete before firing tx status hook, render persisted tx status * `useBridgeTxStatus` hook initialized to set isComplete to true if kappa exists, save call * Revert prev commit, require check on tx status beyond kappa avail * Utilize `checkStatus` as guardrail check in `useBridgeTxStatus` * removes unused prop * removes another unused prop * Hide debugging meta * Hide debugging meta * limits to 5 txns * align time --------- Co-authored-by: bigboydiamonds <[email protected]> * Chore: fix lint * Revert "[DROP IN PROD] Use local SDK for build" This reverts commit 32dcaf6. --------- Co-authored-by: aureliusbtc <[email protected]> Co-authored-by: Daniel Wasserman <[email protected]> Co-authored-by: bigboydiamonds <[email protected]> Co-authored-by: abtestingalpha <[email protected]>
- Loading branch information