This commit is contained in:
trizin 2024-07-21 22:11:22 +03:00 committed by GitHub
parent baea52cc43
commit 5f0d92bddb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -130,7 +130,7 @@ export function getErc20TemplateId(address: Address): BigInt {
return BigInt.zero() return BigInt.zero()
} }
type ContractData = { type HardCodedContractData = {
token: string; token: string;
secondsPerEpoch: i32; secondsPerEpoch: i32;
secondsPerSubscription: i32; secondsPerSubscription: i32;
@ -142,7 +142,7 @@ type ContractData = {
eventIndex: i32; eventIndex: i32;
}; };
type HardCodedContractDataType = { [key: string]: ContractData }; type HardCodedContractDataType = { [key: string]: HardCodedContractData };
const hardCodedContractData: HardCodedContractDataType = { const hardCodedContractData: HardCodedContractDataType = {
"0x18f54cc21b7a2fdd011bea06bba7801b280e3151": { "0x18f54cc21b7a2fdd011bea06bba7801b280e3151": {