Merged
Conversation
…older fixes from subquery
…hes to requests and response
…tments-to-request-and-response Added transaction hashes to request and response entities
…le via environment variables
…tments-to-request-and-response Dockerfile improvements
Removed previously indexed bid data
Added more rpc endpoints for bsc chapel
… be filterable by update height and block number.
…hine-filter chore: entity search and state machine filter
Co-authored-by: David Salami <31099392+Wizdave97@users.noreply.github.com>
…n substrate chain
Co-authored-by: David Salami <31099392+Wizdave97@users.noreply.github.com>
…, handle tetnet/mainnet checks for host chain
* introduce price oracle * introduce IIntentPriceOracle * simplify spread data * add [profile.ci] * revert
* [indexer]: index IntentGatewayV2 * add protocol revenue scehams and handlers * nit * use relationships for input, output and predispatch tokens * remove protocol revenue schema * use callTracer for nested call to placeOrder * nit * pop calldatas to top, make addrs lowercase
* [filler,sdk]: add FillerV2 * submit bid if solverSelection active * fix computeOrderCommitment in indexer, buildTokenStateOverrides in sdk * add fee token cache in sdk class * cache sdk helper * refactor HyperbridgeService, check solverSelection at core level * conditional check status.isInBlock or status.isFinalized * delegation, approvals and architecture simplification * remove Etherscan from config * add BidStorageService for analysis and bids retracement * nit * rename stuff * update README * resolve pr comments * run confirmation check and evaluation together, seperation execution * disable filler v1 tests * complete profitability with bps logic * nit * filler pays out their max
…er (#269) * [sdk]: add IntentGatewayV2 encoding tests, fix packGasLimits byte order * fix build
* [sdk]: add IntentGatewayV2 encoding tests, fix packGasLimits byte order * test intentsCoprocessor and userOp decoding * use existing connection from SubstrateChain * full executor function and bids validation by USD value * update entry point address * docs * fix build * resolve nit * encode as erc7821 batch call * push working code * nit * base tip should be 12 decimals Co-authored-by: David Salami <31099392+Wizdave97@users.noreply.github.com> * Update packages/sdk/src/chains/intentsCoprocessor.ts Co-authored-by: David Salami <31099392+Wizdave97@users.noreply.github.com> * add cancel generator, update preparePlaceOrder * add quoteCancelNative * build * add order generator fn, reorder and docs * use commitment as key for entrypoint nonce * use 100 gwei as MIN_PRIORITY_FEE, throw error at failed estimate * set filler outputs in cache and use it --------- Co-authored-by: David Salami <31099392+Wizdave97@users.noreply.github.com>
* fix: improve substrate method * chore: bumped sdk
* [filler]: estimate user operation * Update filler-config-example.toml * override state before getting estimate from bundler * refactor estimate function * replace confirmation policy with interpolated curve, update filler bps * make filler config readable * nit
* introduce support for polkadot testnet to the indexer * config Intents V2 mainnet address * add tron nile testnet * add intent gateway v2 address to config so types are generated * update docker image * polygon execution layer supports fetching finalized blocks --------- Co-authored-by: royvardhan <royvardhan.official@gmail.com> Co-authored-by: David Salami <wizdave97@gmail.com>
…GV2 indexer fixes (#279) * [filler-v2,sdk]: add Rebalancing Service, Tron tests, CI fixes * [indexer]: merge david/fix-node-fetch, fix IGV2 indexing * [indexer, sdk]: add envs in CI, unskip timeout tests * update docker * split CI workflow into multiple steps * nit * Update test-sdk.yml * add bundler url to env * nits * fix big int serializing in tests * ignore errors from background async tasks * update vitest * skip timeout test * make test more predictable * fix * use local indexer * reorder tests * nit * add place order test --------- Co-authored-by: David Salami <wizdave97@gmail.com>
* fix: error generating mmr proofs * fix: skip mmr proof generation for timed out requests * chore: fixed changelog
…ills indexing (#285) * simplify estimateFillOrderV2 api * update placeOrder to receive a signed txn and broadcast * allow same chain swaps and add fx strategy * filler constructs cNGN price * yeild CANCELLATION_COMPLETE * get the cancel calldata signed from the user * nit * set account code before simulating user op * set code cache at init * add price policy to fx strategy * remove enum * update sdk to execute partial fills * allow partial fills in fx swap * send approvals in batch txn * add partial fill rules in fx, docs and cleanup * create Tron chain * hardcode nonce * update IChain and use it in event monitor * use IEvmChain * refactor broadcastTransaction * single end-to-end executor * decompose IntentsV2 into smaller parts * nit * resolve pr comments * hardcode 0 nonce for simulation * log error * fallback should use not hardcode any token * yield partial fill details * accept graffitti * nit * simplify validateAndSortBids * yield filled * support multi-token output orders in BidManager.validateAndSortBids * fallback to trace call if recorded slots return undefined * refresh fee token cache and some nits * exit computing order usd value if any token pricing fails * Update BidManager.ts * generalize fx strategy * use types from binance/wallet * add quote and cancel from dest * [indexer]: index partial fills * nits * use strategy derived order value for confirmation policy --------- Co-authored-by: Seun Lanlege <seun@polytope.technology>
* relayer stats for transaction handling * indexed collator rewards * implement signature decoding for the relayer field introduce request commitment in asset teleport per transaction indexing for relayer rewards and collator rewards schema renaming changes * use scale-ts remove redundant checks and type * remove token list indexing and services * relayer stats migration remove reputation asset balance indexing * remove migration and token List * remove migration * some improvements * add retries for fetch * merge main * fix build * version some entities * add migration script * nit * update migration and test, update sdk * migrate command update * make createdAt optional * fix * index relayer withdraw event * Make cumulative withdrawn optional * Enhance data migration script to order by _block_range DESC for latest row versions * Rename OrderV2 to IOrderV2 in schema.graphql and update related imports in intentGatewayV2.service.ts * Update schema.graphql to use IOrderV2 types and adjust intentGatewayV2.service.ts imports accordingly * use alternative deduplication * fail if any row insertion fails * Enhance data migration script to stringify JSON objects for jsonb columns during row insertion * update intent gateway v2 config * bump sdk --------- Co-authored-by: David Salami <wizdave97@gmail.com> Co-authored-by: David Salami <31099392+Wizdave97@users.noreply.github.com>
* delete filler v1 * add fx strategy to binary * confirmation policy is encapsulated to strategies * fix tests * nit fixes, fx strategy test * Update packages/sdk/src/protocols/intentsV2/GasEstimator.ts Co-authored-by: David Salami <31099392+Wizdave97@users.noreply.github.com> * simplex docker image builds * some nice cosmetics * tests to prevent silent ci breaks, update simulation * more cosmetics * bump sdk * bump gas values * add entrypoint deposit config, more logs * calculate profit based on spreads and fees combined * throw error at 0 estimates * chore: bump sdk * bump call gas limit more * simplify entrypoint deposit check * handle partial fill edge cases * dont reject partial fills * retract bids at order filled event * handle race conditions, filter event by filler * try to get bids from rpc directly first * retract bids after 1 hour of submission * some fixes * misc fixes * merge * simplify catching err * get signed cancel txn from user * export intent gateway abi * jsdoc & interface cleanups * pad addresses to bytes32 * dedupe functions --------- Co-authored-by: royvardhan <royvardhan.official@gmail.com> Co-authored-by: David Salami <31099392+Wizdave97@users.noreply.github.com> Co-authored-by: Fortune Ogunsusi <fortune@polytope.technology> Co-authored-by: David Salami <wizdave97@gmail.com>
Wizdave97
approved these changes
Mar 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The great unification is here