Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Uniswap/uniswapx-parameterization-api
/ functions
Functions
348 in github.com/Uniswap/uniswapx-parameterization-api
⨍
Functions
348
◇
Types & classes
148
↓ 62 callers
Method
putMetric
(key: string, value: number, unit?: MetricLoggerUnit)
lib/entities/aws-metrics-logger.ts:39
↓ 27 callers
Method
toCleanJSON
()
lib/entities/QuoteRequest.ts:62
↓ 26 callers
Function
metricContext
(metric: MetricNeedingContext, context: string)
lib/entities/aws-metrics-logger.ts:109
↓ 26 callers
Method
quote
(request: QuoteRequest, provider?: ethers.providers.StaticJsonRpcProvider)
lib/quoters/index.ts:11
↓ 24 callers
Function
checkDefined
(value: T | null | undefined, message = 'Should be defined')
lib/preconditions/preconditions.ts:1
↓ 19 callers
Function
getEvent
(request: PostQuoteRequestBody)
test/handlers/quote/handler.test.ts:79
↓ 19 callers
Function
getQuoteHandler
(quoters: Quoter[])
test/handlers/quote/handler.test.ts:77
↓ 19 callers
Function
getRequest
(amount: string, type = 'EXACT_INPUT', protocol = ProtocolVersion.V1)
test/handlers/quote/handler.test.ts:84
↓ 18 callers
Function
getCosignerData
( request: HardQuoteRequest, quote: QuoteResponse, orderType: OrderType, provider?: ethers.providers.S
lib/handlers/hard-quote/handler.ts:193
↓ 18 callers
Method
toResponseJSON
()
lib/entities/QuoteResponse.ts:138
↓ 17 callers
Method
create
(configs: SharedConfigs)
lib/repositories/fades-repository.ts:26
↓ 14 callers
Method
fromRFQ
(args: FromRfqArgs)
lib/entities/QuoteResponse.ts:77
↓ 13 callers
Function
calculateNewTimestamps
( fillerTimestamps: FillerTimestamps, fillersNewFades: FillerFades, newPostTimestamp: number, log?: Lo
lib/cron/fade-rate-v2.ts:127
↓ 12 callers
Function
getOrder
(data: Partial<UnsignedV2DutchOrderInfo>)
test/handlers/hard-quote/handler.test.ts:43
↓ 11 callers
Function
getRequest
(order: UnsignedV2DutchOrder)
test/handlers/hard-quote/handler.test.ts:127
↓ 11 callers
Function
responseFromRequest
( request: PostQuoteRequestBody, overrides: Partial<PostQuoteResponse> )
test/handlers/quote/handler.test.ts:108
↓ 9 callers
Function
makeQuote
(chainId: number, type: TradeType, overrides: Partial<QuoteResponseData> = {})
test/handlers/hard-quote/handlerDutchV3.cosigner.test.ts:91
↓ 9 callers
Function
makeRequest
( chainId: number, type: TradeType, extraOutputs: Array<{ token: string; startAmount: BigNumber; recipie
test/handlers/hard-quote/handlerDutchV3.cosigner.test.ts:69
↓ 8 callers
Method
addNewAddressToFiller
(address: string, filler?: string)
lib/repositories/filler-address-repository.ts:16
↓ 8 callers
Function
getV3BlockBuffer
(chainId: number)
lib/constants.ts:60
↓ 8 callers
Function
makeProvider
(opts: { baseFee?: BigNumber } = {})
test/handlers/hard-quote/handlerDutchV3.cosigner.test.ts:114
↓ 8 callers
Function
makeQuoteRequest
(overrides: Partial<QuoteRequest>)
test/providers/quoters/WebhookQuoter.test.ts:83
↓ 8 callers
Method
validatePermissionedTokens
* Validates both input and output tokens for permission requirements and transfer validity * @param request - The quote request data containing tok
lib/util/rfqValidator.ts:75
↓ 7 callers
Method
callPassThroughFail
(method: string, url: string, body: any, headers?: Record<string, string>)
test/util/axios.ts:39
↓ 7 callers
Method
cosigner
()
lib/entities/HardQuoteRequest.ts:147
↓ 7 callers
Method
getEndpoints
()
lib/providers/webhook/index.ts:28
↓ 7 callers
Method
input
()
lib/entities/V3HardQuoteResponse.ts:23
↓ 7 callers
Function
makeRequest
( data: Partial<HardQuoteRequestBody>, orderType: OrderType = OrderType.Dutch_V2, chainId: number = CHAI
test/entities/HardQuoteRequest.test.ts:52
↓ 7 callers
Method
postOrder
(args: PostOrderArgs)
lib/providers/order/index.ts:17
↓ 7 callers
Method
sendAnalyticsEvent
(analyticsEvent: AnalyticsEvent)
lib/providers/analytics/index.ts:4
↓ 7 callers
Method
swapper
()
lib/entities/QuoteRequest.ts:120
↓ 7 callers
Method
toLog
()
lib/entities/QuoteResponse.ts:152
↓ 6 callers
Function
buildOrderStub
()
test/providers/order/uniswapxService.test.ts:20
↓ 6 callers
Function
getEvent
(request: HardQuoteRequestBody)
test/handlers/hard-quote/handler.test.ts:122
↓ 6 callers
Method
getFillerAddresses
(filler: string)
lib/repositories/filler-address-repository.ts:14
↓ 6 callers
Method
getFillerByAddress
(address: string)
lib/repositories/filler-address-repository.ts:15
↓ 6 callers
Function
getQuoteHandler
(quoters: Quoter[])
test/handlers/hard-quote/handler.test.ts:120
↓ 6 callers
Function
getWebhookTimeoutMs
(chainId: number)
lib/constants.ts:47
↓ 6 callers
Function
handler
(event, context, transformFn)
lib/handlers/blueprints/cw-log-firehose-processor.js:155
↓ 6 callers
Method
syntheticQuoteForTradeEnabled
(trade: SynthSwitchQueryParams)
lib/repositories/base.ts:88
↓ 6 callers
Method
toOpposingCleanJSON
()
lib/entities/QuoteRequest.ts:80
↓ 5 callers
Function
INTERNAL_ERROR
(id?: string)
lib/handlers/base/api-handler.ts:16
↓ 5 callers
Function
applyMock
(endpoints: WebhookConfiguration[])
test/providers/webhook/s3.test.ts:24
↓ 5 callers
Method
callAndExpectFail
( method: string, url: string, body: any, resp: { status: number; data: any }, headers?: R
test/util/axios.ts:66
↓ 5 callers
Function
getOrderInfo
(data: Partial<UnsignedV2DutchOrderInfo>)
test/entities/HardQuoteRequest.test.ts:24
↓ 5 callers
Function
getQuoteResponse
( data: Partial<QuoteResponseData>, type: TradeType = TradeType.EXACT_INPUT )
test/handlers/hard-quote/handler.test.ts:283
↓ 5 callers
Method
putSynthSwitch
(trade: SynthSwitchTrade, lower: string, enabled: boolean)
lib/repositories/base.ts:87
↓ 4 callers
Function
applyMock
(configs: FillerComplianceConfiguration[])
test/providers/compliance/s3.test.ts:30
↓ 4 callers
Function
echoOpposing
(req: any)
test/providers/quoters/WebhookQuoter.test.ts:152
↓ 4 callers
Function
echoReal
(req: any)
test/providers/quoters/WebhookQuoter.test.ts:151
↓ 4 callers
Method
getEndpointToExcludedAddrsMap
()
lib/providers/compliance/index.ts:13
↓ 4 callers
Method
getKey
(trade: SynthSwitchTrade)
lib/repositories/switch-repository.ts:83
↓ 4 callers
Function
getResponse
(data: Partial<UnsignedV2DutchOrderInfo>, cosignerData: CosignerData)
test/entities/HardQuoteResponse.test.ts:48
↓ 4 callers
Method
parseKey
(key: string)
lib/repositories/switch-repository.ts:88
↓ 4 callers
Function
timestampInMstoISOString
(timestamp: number)
lib/util/time.ts:3
↓ 4 callers
Function
timestampInMstoSeconds
(timestamp: number)
lib/util/time.ts:4
↓ 3 callers
Method
alarmsPerTable
(table: aws_dynamo.Table, name: string, chatbotSNSTopic?: ITopic)
bin/stacks/cron-stack.ts:204
↓ 3 callers
Function
buildTimeoutError
()
test/providers/order/uniswapxService.test.ts:28
↓ 3 callers
Function
chainLabel
(chainId: ChainId)
bin/stacks/param-dashboard-stack.ts:54
↓ 3 callers
Method
fetchEndpoints
()
lib/providers/webhook/s3.ts:57
↓ 3 callers
Function
getEvent
(request: HardQuoteRequestBody)
test/handlers/hard-quote/handlerDeadline.test.ts:112
↓ 3 callers
Method
getFillerTimestamps
(hash: string)
lib/repositories/base.ts:93
↓ 3 callers
Function
getFillersNewFades
( rows: V2FadesRowType[], addressToFillerMap: Map<string, string>, fillerTimestamps: FillerTimestamps,
lib/cron/fade-rate-v2.ts:220
↓ 3 callers
Function
getHandler
(quoters: Quoter[])
test/handlers/hard-quote/handlerDeadline.test.ts:110
↓ 3 callers
Function
getOrder
(data: Partial<UnsignedV2DutchOrderInfo>)
test/handlers/hard-quote/handlerDeadline.test.ts:36
↓ 3 callers
Function
getRequest
(order: UnsignedV2DutchOrder)
test/handlers/hard-quote/handlerDeadline.test.ts:117
↓ 3 callers
Function
getV3Order
(swapper: string)
test/entities/HardQuoteRequest.test.ts:75
↓ 3 callers
Function
loadHeaders
()
test/util/rpc-headers.test.ts:11
↓ 3 callers
Function
makeQuote
()
test/handlers/hard-quote/handlerDutchV2.deadline.test.ts:53
↓ 3 callers
Function
postOrderWith
(postResponse: { statusCode: number; errorCode?: ErrorCode; detail?: string; data?: unknown;
test/handlers/hard-quote/handlerPostError.test.ts:134
↓ 3 callers
Method
putDimensions
(dimensions: Record<string, string>)
lib/entities/aws-metrics-logger.ts:35
↓ 3 callers
Method
setFillerResponseLatencyMs
(latencyMs: number)
lib/entities/QuoteResponse.ts:54
↓ 2 callers
Method
addIntegTests
( sourceArtifact: cdk.pipelines.CodePipelineSource, apiStage: APIStage, applicationStage: cdk.pipe
bin/app.ts:185
↓ 2 callers
Function
assertV2DecayWithinDeadline
* V2 orders must complete their decay window before the order's deadline, * otherwise the resolved output the swapper signed for becomes meaningless
lib/handlers/hard-quote/handler.ts:397
↓ 2 callers
Method
buildAxiosOption
(method: string, url: string, body: any, headers?: Record<string, string>)
test/util/axios.ts:6
↓ 2 callers
Function
calculateBlockUntilTimestamp
( newPostTimestamp: number, consecutiveBlocks: number | undefined, fades: number )
lib/cron/fade-rate-v2.ts:274
↓ 2 callers
Function
createReingestionRecord
(isSas, originalRecord, data)
lib/handlers/blueprints/cw-log-firehose-processor.js:140
↓ 2 callers
Function
currentTimestampInMs
()
lib/util/time.ts:2
↓ 2 callers
Method
fetchConfigs
()
lib/providers/compliance/s3.ts:84
↓ 2 callers
Method
fillerEndpoints
()
lib/providers/webhook/s3.ts:28
↓ 2 callers
Function
filterResults
(configs: TokenConfig[], result: ResultRowType[])
lib/cron/synth-switch.ts:430
↓ 2 callers
Method
fromRequest
(args: FromRequestArgs)
lib/entities/QuoteResponse.ts:58
↓ 2 callers
Method
getAddressToFillerMap
(fillers: string[])
lib/repositories/filler-address-repository.ts:18
↓ 2 callers
Function
getBestQuote
( quoters: Quoter[], quoteRequest: QuoteRequest, log: Logger, metric: IMetric, provider?: ethers.pro
lib/handlers/quote/handler.ts:100
↓ 2 callers
Function
getDecayEndTime
(chainId: number, startTime: number)
lib/handlers/hard-quote/handler.ts:321
↓ 2 callers
Function
getDecayStartTime
(chainId: number)
lib/handlers/hard-quote/handler.ts:309
↓ 2 callers
Method
getEndpointStatuses
(endpoints: WebhookConfiguration[])
lib/providers/circuit-breaker/index.ts:21
↓ 2 callers
Function
getEndpointSupportedProtocols
(e: WebhookConfiguration)
lib/quoters/WebhookQuoter.ts:416
↓ 2 callers
Method
getFillerEndpoints
()
lib/providers/circuit-breaker/dynamo.ts:35
↓ 2 callers
Method
getFillerTimestampsMap
(hashes: string[])
lib/repositories/base.ts:94
↓ 2 callers
Function
getRpcUrl
(chainId: number)
lib/util/chains.ts:43
↓ 2 callers
Function
isNonQuote
(request: QuoteRequest, hookResponse: AxiosResponse, parsedResponse: QuoteResponse)
lib/quoters/WebhookQuoter.ts:403
↓ 2 callers
Function
loadJsonGzipBase64
(base64Data)
lib/handlers/blueprints/cw-log-firehose-processor.js:151
↓ 2 callers
Function
makeRequest
(deadline: number)
test/handlers/hard-quote/handlerDutchV2.deadline.test.ts:40
↓ 2 callers
Function
newConsecutiveBlocks
(consecutiveBlocks?: number)
lib/cron/fade-rate-v2.ts:109
↓ 2 callers
Function
putRecordsBase
( streamName, records, client, methodName, streamNameArgName, failureDetailsKey, attemptsMade,
lib/handlers/blueprints/cw-log-firehose-processor.js:73
↓ 2 callers
Function
sleep
(ms: number)
lib/cron/synth-switch.ts:408
↓ 2 callers
Method
toCleanJSON
()
lib/entities/HardQuoteRequest.ts:35
↓ 2 callers
Method
toOpposingRequest
()
lib/entities/QuoteRequest.ts:99
↓ 2 callers
Method
updateTimestampsBatch
(toUpdate: ToUpdateTimestampRow[])
lib/repositories/base.ts:92
next →
1–100 of 348, ranked by callers