@merkl/api 0.20.128 → 0.20.129

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ export declare class EventBasedMetadata implements MetadataBuilder<campaignType>
8
8
  name: string;
9
9
  tokens: {
10
10
  chainId: number;
11
- address: any;
11
+ address: string;
12
12
  }[];
13
13
  mainProtocol: "hanji";
14
14
  depositUrl: any;
@@ -6,7 +6,7 @@ export class EventBasedMetadata {
6
6
  const action = "SWAP";
7
7
  const mainProtocolId = "hanji";
8
8
  let name = `${params.eventID.split("(")[0]} on ${capitalize(mainProtocolId)}`;
9
- let tokens = [{ chainId: computeChainId, address: params.contract }];
9
+ let tokens = [];
10
10
  if (params.contract.toLowerCase() === "0xd0bc067cf877f7b76ceb331891331d9e6acda1a7") {
11
11
  name = `Trade USDC/XTZ on ${capitalize(mainProtocolId)}`;
12
12
  tokens = [