This commit is contained in:
trizin 2024-07-21 22:44:51 +03:00 committed by GitHub
parent 9cdf0f68f0
commit b3c5cd6382
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -130,21 +130,8 @@ export function getErc20TemplateId(address: Address): BigInt {
return BigInt.zero() return BigInt.zero()
} }
interface HardCodedContractData = {
token: string;
secondsPerEpoch: number;
secondsPerSubscription: number;
truevalSubmitTimeout: number;
stakeToken: string;
txId: string;
timestamp: number;
block: number;
eventIndex: number;
};
interface HardCodedContractDataType = { [key: string]: HardCodedContractData }; const hardCodedContractData: any = {
const hardCodedContractData: HardCodedContractDataType = {
"0x18f54cc21b7a2fdd011bea06bba7801b280e3151": { "0x18f54cc21b7a2fdd011bea06bba7801b280e3151": {
"token": "0x18f54cc21b7a2fdd011bea06bba7801b280e3151", "token": "0x18f54cc21b7a2fdd011bea06bba7801b280e3151",
"secondsPerEpoch": 300, "secondsPerEpoch": 300,