Skip to content

Commit

Permalink
fix: doc for erc20 transfer example
Browse files Browse the repository at this point in the history
  • Loading branch information
fringlesinthestreet committed May 2, 2024
1 parent 8d8cf7b commit 18b79c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/utils/sanity_check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function sanityCheckAddress(
* const quoteRelayERC20 = {
* to: '0xabcdefabcdefabcdefabcdefabcdefabcdefabcdef',
* data: '0xa9059cbb000000000000000000000000f70da97812cb96acdf810712aa562db8dfa3dbef...',
* sellTokenAddress: '0x1234567890123456789012345678901234567890'
* sellTokenAddress: '0xabcdefabcdefabcdefabcdefabcdefabcdefabcdef'
* };
* console.log(getToAddressFromCrosschainQuote(Source.CrosschainAggregatorRelay, quoteRelayERC20));
* // Output: '0xf70da97812cb96acdf810712aa562db8dfa3dbef' (assuming the call data was a ERC20 transfer)
Expand Down

0 comments on commit 18b79c8

Please sign in to comment.