Skip to content

Commit

Permalink
Merge pull request #256 from XY-Finance/chore/xy_finance_event_update
Browse files Browse the repository at this point in the history
XY Finance: update SwapRequested event
  • Loading branch information
vrtnd authored Jul 23, 2024
2 parents c9929ea + 84314ef commit 0592efe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/adapters/xy-finance/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ const getYBridgeSwapRequestedEventParams = (chain: Exclude<Chain, Chain.Numbers>
const contractAddress = YBridgeContractAddress[chain]
return {
target: contractAddress,
topic: 'SwapRequested(uint256,address,(uint32,address,uint256,uint32),address,address,uint256,address,uint256,uint256,address)',
topic: 'SwapRequested(uint256,address,(uint32,address,address,uint256,uint32),address,address,uint256,address,uint256,uint256,address)',
abi: [
"event SwapRequested(uint256 _swapId, address indexed _aggregatorAdaptor, tuple(uint32 dstChainId, address dstChainToken, uint256 expectedDstChainTokenAmount, uint32 slippage) _dstChainDesc, address _srcToken, address indexed _vaultToken, uint256 _vaultTokenAmount, address _receiver, uint256 _srcTokenAmount, uint256 _expressFeeAmount, address indexed _referrer)",
"event SwapRequested(uint256 _swapId, address indexed _aggregatorAdaptor, tuple(uint32 dstChainId, address dstChainToken, address dstAggregatorAdaptor, uint256 expectedDstChainTokenAmount, uint32 slippage) _dstChainDesc, address _srcToken, address indexed _vaultToken, uint256 _vaultTokenAmount, address _receiver, uint256 _srcTokenAmount, uint256 _expressFeeAmount, address indexed _referrer)",
],
logKeys: {
blockNumber: "blockNumber",
Expand Down

0 comments on commit 0592efe

Please sign in to comment.