Skip to content

Commit

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

interface HardCodedContractData = {
token: string;
secondsPerEpoch: number;
secondsPerSubscription: number;
truevalSubmitTimeout: number;
stakeToken: string;
txId: string;
timestamp: number;
block: number;
eventIndex: number;
};

Check failure on line 133 in src/mappings/utils/tokenUtils.ts

View workflow job for this annotation

GitHub Actions / test

Delete `⏎`

Check failure on line 133 in src/mappings/utils/tokenUtils.ts

View workflow job for this annotation

GitHub Actions / test

Delete `⏎`
interface HardCodedContractDataType = { [key: string]: HardCodedContractData };

const hardCodedContractData: HardCodedContractDataType = {
const hardCodedContractData: any = {
"0x18f54cc21b7a2fdd011bea06bba7801b280e3151": {

Check failure on line 135 in src/mappings/utils/tokenUtils.ts

View workflow job for this annotation

GitHub Actions / test

Replace `"0x18f54cc21b7a2fdd011bea06bba7801b280e3151"` with `'0x18f54cc21b7a2fdd011bea06bba7801b280e3151'`

Check failure on line 135 in src/mappings/utils/tokenUtils.ts

View workflow job for this annotation

GitHub Actions / test

Replace `"0x18f54cc21b7a2fdd011bea06bba7801b280e3151"` with `'0x18f54cc21b7a2fdd011bea06bba7801b280e3151'`
"token": "0x18f54cc21b7a2fdd011bea06bba7801b280e3151",

Check failure on line 136 in src/mappings/utils/tokenUtils.ts

View workflow job for this annotation

GitHub Actions / test

Replace `"token":·"0x18f54cc21b7a2fdd011bea06bba7801b280e3151"` with `token:·'0x18f54cc21b7a2fdd011bea06bba7801b280e3151'`

Check failure on line 136 in src/mappings/utils/tokenUtils.ts

View workflow job for this annotation

GitHub Actions / test

Replace `"token":·"0x18f54cc21b7a2fdd011bea06bba7801b280e3151"` with `token:·'0x18f54cc21b7a2fdd011bea06bba7801b280e3151'`
"secondsPerEpoch": 300,

Check failure on line 137 in src/mappings/utils/tokenUtils.ts

View workflow job for this annotation

GitHub Actions / test

Replace `"secondsPerEpoch"` with `secondsPerEpoch`

Check failure on line 137 in src/mappings/utils/tokenUtils.ts

View workflow job for this annotation

GitHub Actions / test

Replace `"secondsPerEpoch"` with `secondsPerEpoch`
Expand Down

0 comments on commit b3c5cd6

Please sign in to comment.