use number

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

View File

@ -132,14 +132,14 @@ export function getErc20TemplateId(address: Address): BigInt {
type HardCodedContractData = { type HardCodedContractData = {
token: string; token: string;
secondsPerEpoch: i32; secondsPerEpoch: number;
secondsPerSubscription: i32; secondsPerSubscription: number;
truevalSubmitTimeout: i32; truevalSubmitTimeout: number;
stakeToken: string; stakeToken: string;
txId: string; txId: string;
timestamp: i32; timestamp: number;
block: i32; block: number;
eventIndex: i32; eventIndex: number;
}; };
type HardCodedContractDataType = { [key: string]: HardCodedContractData }; type HardCodedContractDataType = { [key: string]: HardCodedContractData };