Skip to content

Commit

Permalink
use interface
Browse files Browse the repository at this point in the history
  • Loading branch information
trizin authored Jul 21, 2024
1 parent 306bf05 commit 9cdf0f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mappings/utils/tokenUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export function getErc20TemplateId(address: Address): BigInt {
return BigInt.zero()
}

type HardCodedContractData = {
interface HardCodedContractData = {
token: string;
secondsPerEpoch: number;
secondsPerSubscription: number;
Expand All @@ -142,7 +142,7 @@ type HardCodedContractData = {
eventIndex: number;
};

type HardCodedContractDataType = { [key: string]: HardCodedContractData };
interface HardCodedContractDataType = { [key: string]: HardCodedContractData };

const hardCodedContractData: HardCodedContractDataType = {
"0x18f54cc21b7a2fdd011bea06bba7801b280e3151": {
Expand Down

0 comments on commit 9cdf0f6

Please sign in to comment.