PageSourceSearch

https://testari.ai/_next/static/chunks/10338.edebbbfb3bfffff2.js

js testari.ai collected 2026-10-09 22:58:17 UTC 1,895 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[10338],{10338:(a,e,r)=>{r.r(e),r.d(e,{buyFromListing:()=>l,isBuyFromListingSupported:()=>v});var t=r(35717),i=r(86931),n=r(31631),s=r(19328);let c="0x704232dc",o=[{name:"_listingId",type:"uint256"},{name:"_buyFor",type:"address"},{name:"_quantity",type:"uint256"},{name:"_currency",type:"address"},{name:"_expectedTotalPrice",type:"uint256"}],u=[];var y=r(69912),d=r(90864);function l(a){var e={asyncParams:async()=>{let e=await y.t({contract:a.contract,listingId:a.listingId}),r=await (0,d.r)({contract:a.contract,listing:e,quantity:a.quantity});if(!r.valid)throw Error(r.reason);return{buyFor:a.recipient,currency:e.currencyContractAddress,expectedTotalPrice:e.pricePerToken*a.quantity,listingId:a.listingId,overrides:{erc20Value:(0,t.dw)(e.currencyContractAddress)?void 0:{amountWei:e.pricePerToken*a.quantity,tokenAddress:e.currencyContractAddress},extraGas:50000n,value:(0,t.dw)(e.currencyContractAddress)?e.pricePerToken*a.quantity:0n},quantity:a.quantity}},contract:a.contract};let r=(0,s.O)(async()=>"asyncParams"in e?await e.asyncParams():e);return(0,i.m)({accessList:async()=>(await r()).overrides?.accessList,authorizationList:async()=>(await r()).overrides?.authorizationList,contract:e.contract,erc20Value:async()=>(await r()).overrides?.erc20Value,extraGas:async()=>(await r()).overrides?.extraGas,gas:async()=>(await r()).overrides?.gas,gasPrice:async()=>(await r()).overrides?.gasPrice,maxFeePerGas:async()=>(await r()).overrides?.maxFeePerGas,maxPriorityFeePerGas:async()=>(await r()).overrides?.maxPriorityFeePerGas,method:[c,o,u],nonce:async()=>(await r()).overrides?.nonce,params:async()=>{let a=await r();return[a.listingId,a.buyFor,a.quantity,a.currency,a.expectedTotalPrice]},value:async()=>(await r()).overrides?.value})}function v(a){return(0,n.F)({availableSelectors:a,method:[c,o,u]})&&y.x(a)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.