Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update build dependencies * update tsconfig * actions/remove Node18 * fix types * extra gitignore * update typedoc deps * update snapshots * abstract away providers/findPrimaryType * add TransactionParams.maxFeeGas params * providers/viem * export from providers/viem * DEFAULT_VERSION better type * add wagmi & viem deps * SimpleSDK/viem for contractCaller * examples/viem * cleanup * examples/wagmi * fix dependencies * tests/fix types * examples/fix types * tests/fix types * viem/fix account usage * examples/viem/fix account usage * types/TxHash=Hex * add hardhat * legacy/fix types * ignore cache files * some tests * tsconfig/allow BigInt short notation * providers/viem/reuse account * viem/fix tests * tests/viem/remove extra * tests/viem/Order signing * rename stuff * cleanup * reenable tests * tests/viem/const acc * tests/viem/update snapshots * reexport txParamsToViemTxParams * tests/viem/update snapshots * more comments * cleanup * remove extra deps * moved bignumber.js to devDeps * cleanup * update tests jpeg * update README * update snapshots * FetcherError/fix types * viem test/market swap * fix deps * update deps * update snapshots * remove dummy test * change default version * update some deps * replace ganache with hardhat * remove ganache * fix chainId in tests mismatch * try with tevm * tevm test * add hardhat-switch-network plugin * simplify hardhat helpers * make tests work with hardhat * fix method name * disable web3 tests that break with hardhat * fix NFT tests * remove tevm * hardhat config/explicit gasPrice * NFT tests/adjust amounts * cleanup * remove temp tests * update some deps * NFT tests/workaround some errors * update ethers dep * update web3 dep(slightly) * update deps * override some deps * update some deps * hadrhat config/smaller default baseFee * NFT tests/workaround edge case * update web3 dep * update Web3 types * update web3/constructContractCaller * legacy/update types * hardhat config/fixed accounts * LOrder tests/reenable sign with web3 * NFT Order tests/reenable sign with web3 * getBalance tests workaround * cleanup * update some deps * update snapshots * update perrDeps * update required Node v * NFT tests/account for dust * hadrhat config/lower initialBaseFeePerGas * install ethersV6 as alias * providers/ethersV6 * distinct ethersV5 exports * legacy/support ethersV6 * simple SDK/support ethersV6 * simpleSDK.tests/add ethersV6 * partialSDK.tests/add ethersV6 * LOrders.tests/add ethersV6 * NFT_Orders.tests/add ethersV6 * update snapshots * examples/ add ethersV6 * perrDeps/update ethers versions * update snapshots * cleanup * delta/approve * delta/getContract * delta/getOrders * delta/some types * delta/getPrice * delta/getPartnerFee * delta/sanitizeOrderData * delta/composePermit * delta/buildOrderData * delta/buildData * delta/signOrder * extend AdaptersContractsResult * delta/postOrder * delta/submitOrder & allHandlers * delta/buildOrder/explicit BuildDeltaOrderDataParams * add PartnerFeeResponse.takeSurplus * reexport Delta methods & types * BuildDeltaOrderDataParams.partner? * DeltaPriceParams.*decimals: required * examples/delta * fullSDK/delta methods * simpleSDK/delta methods * producePartnerAndFee |= (takeSuplus << 8) * examples/delta/manualDeltaFlow * cleanup * move ethers types to provider/ethers * move web3 types to provider/web3 * untie FetchError type from AxiosError * cleanup * reexport DeltaPriceParams * ethers -> ethersV5, ethersV6 -> ethers to fix types when used as lib * deriveCompactSignature * signDeltaOrder/deriveCompactSignature * move ethers types to provider/ethers * move web3 types to provider/web3 * untie FetchError type from AxiosError * ethers -> ethersV5, ethersV6 -> ethers to fix types when used as lib * cleanup * fetch/remove unnecessary headers * delta/examples/fix slippage * reexport more types * cleanup * delta/getPrices/fix query params * type DeltaPrice/add fields * Partial/delta/approve/fix tx type * ethersV6/more explicit Contract method calling * delta/add tests * delta/getPartnerFee/temp workaround for API response * README/update version * README/update version * less dependency on ethers types * update README * cleanup * remove default partner * remove temp tests * ParaswapDeltaAuction.orderHash: string | null * cleanup * fix typos * cleanup * replace deprecated method * Delta/signDeltaOrder/skip compact sig when incompatible * update Delta Order types * update tests * fix typo * Delta/update types * tests/Delta/update snapshots * Delta/annotate some types * Delta/getDEltaOrders/pagination options * Feat/Quote support (#185) * quote/getQuote * reexport from quote * simpleSDK/add quote * partialSDK/simplify type * fullSDK/add quote * examples/simple/fix wrong Token * quote/getQuote/more specific types * examples/quote * delta/buildDeltaOrders/allow to override partnerFee data * quote/add tests * examples/simpleQuote * examples/quote/ fix amount var * cleanup * README/add quote usage * buildDeltaOrder/partnerAndFee encoding shortcut * cleanup * DeltaAuctionOrder.nonce: number -> string * test/delta/update * tests/quote/update * quote/getQuote res/fallback_reason -> fallbackReason * quote/annotate some types * tests/quote/update snaps * quote/getQuote/update response types * tests/quote/add gas cost error test * tests/quote/fix purposefully failing tests * tests/delta/fix orders order * examples/quote/fix types * fix linter * examples/delta/improve flow * delta/Permit/composeDeltaOrderPermit/special handling * Readme/DELTA.md * Readme/update * cleanup * add type ParaswapDeltaAuction.deltaVersion * tests/delta/update snapshots * fix typo Co-authored-by: andriy-shymkiv <[email protected]> --------- Co-authored-by: andriy-shymkiv <[email protected]> --------- Co-authored-by: andriy-shymkiv <[email protected]>
- Loading branch information