uniswapx-sdk
uniswapx-sdk copied to clipboard
SDK bindings for the UniswapX protocol
https://github.com/ethereum-lists/chains/actions/runs/6511285962/job/17686679722#step:2:497
https://github.com/pdfplum/pdfplum/blob/main/http-pdf-generator/extension.yaml#L57-L86
https://github.com/users/rileydcampbell/achievements/arctic-code-vault-contributor
https://github.com/Uniswap/uniswapx-sdk/actions/runs/5925621856/job/16065404502#step:16:6
// Execute direct filler order outputToken.approve(reactor, type(uint256).max); reactor.execute(order);
`import {parseOrder, Order, OrderValidation} from '@uniswap/uniswapx-sdk'; const serializedOrder = '0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000064b8deab0000000000000000000000000000000000000000000000000000000064b8dee7000000000000000000000000e348c7959e47646031cea7ed30266a6702d011cc0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000295b163616aa0000000000000000000000000000000000000000000000000000295b163616aa00000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000e80bf394d190851e215d5f67b67f8f5a52783f1e000000000000000000000000a547f747639e32e9742adca278dca8579d812654046832b9ce99e62cdebd3286b7ee2e169c7c9b75b8a2b4a8be172b3f6939d5010000000000000000000000000000000000000000000000000000000064b8def3000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000005a98fcbea516cf06857215779fd812ca3bef1b3200000000000000000000000000000000000000000000009234f7af292968000000000000000000000000000000000000000000000000009115643f4f5f20cfdd000000000000000000000000a547f747639e32e9742adca278dca8579d812654'; const order = parseOrder(serializedOrder); const orderData = order.info; const orderHash = order.hash(); console.log("orderData: ", orderData, "orderHash: ", orderHash);` when I'm...
Currently the README is showing import of DutchOrder whereas the sample code uses DutchOrderBuilder
Trade object adapts gouda orders to Uniswap Trade types. We can do some work to generify it by creating an interface / abstract class that all gouda types will have...