Skip to content

Commit

Permalink
new deployment address
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNe0x1 committed Oct 11, 2024
1 parent d0893a4 commit 0d37776
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Base:
- [](https://basescan.org/address/)

Worldchain:
- [0x5EC3153BACebb5e49136cF2d457f26f5Df1B6780](https://worldchain-mainnet.explorer.alchemy.com/address/0x5EC3153BACebb5e49136cF2d457f26f5Df1B6780)
- [0xC9850b32475f4fdE5c972EA6f967982a3c435D10](https://worldchain-mainnet.explorer.alchemy.com/address/0xC9850b32475f4fdE5c972EA6f967982a3c435D10)

### DePayForwarderV3

Expand Down
6 changes: 0 additions & 6 deletions test/_pay-with-exchange-conversion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,6 @@ export default ({ blockchain, fromToken, fromAccount, toToken, exchanges })=>{
tokenOut: Blockchains[blockchain].currency.address,
amountOutMin: totalAmount
})
console.log({
blockchain,
tokenIn: fromToken,
tokenOut: Blockchains[blockchain].currency.address,
amountOutMin: totalAmount
})

const transaction = await route.getTransaction({ account: router.address, inputTokenPushed: exchange.type === 'push' })
const callData = getCallData({
Expand Down
4 changes: 2 additions & 2 deletions test/ethereum/pay_with_exchange_conversion.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import payWithExchangeConversion from '../_pay-with-exchange-conversion'

payWithExchangeConversion({
blockchain: 'ethereum',
fromToken: '0xdAC17F958D2ee523a2206206994597C13D831ec7', // USDT
fromToken: '0x6B175474E89094C44Da98b954EedeAC495271d0F',
fromAccount: '0x47ac0Fb4F2D84898e4D9E7b4DaB3C24507a6D503', // needs to hold enough fromToken, will be impersonated
toToken: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', // USDC
toToken: '0xB8c77482e45F1F44dE1745F52C74426C631bDD52',
exchanges: [
{ name: 'uniswap_v2', type: 'pull' },
{ name: 'uniswap_v3', type: 'pull' }
Expand Down

0 comments on commit 0d37776

Please sign in to comment.