This commit is contained in:
trizin 2024-07-21 22:56:49 +03:00 committed by GitHub
parent 432446812c
commit 2a6673dfb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -129,243 +129,7 @@ export function getErc20TemplateId(address: Address): BigInt {
}
return BigInt.zero()
}
/*
type HardCodedContractData = {
token: string;
secondsPerEpoch: number;
secondsPerSubscription: number;
truevalSubmitTimeout: number;
stakeToken: string;
txId: string;
timestamp: number;
block: number;
eventIndex: number;
};
type HardCodedContractDataType = { [key: string]: HardCodedContractData };
const hardCodedContractData: HardCodedContractDataType = {
"0x18f54cc21b7a2fdd011bea06bba7801b280e3151": {
"token": "0x18f54cc21b7a2fdd011bea06bba7801b280e3151",
"secondsPerEpoch": 300,
"secondsPerSubscription": 86400,
"truevalSubmitTimeout": 259200,
"stakeToken": "0x39d22b78a7651a76ffbde2aaab5fd92666aca520",
"txId": "0xc6bdecd2c06b1c7fe350f0d375e14a3f0312756c4a659e8edfbf74567acba77e",
"timestamp": 1696238187,
"block": 916047,
"eventIndex": 6
},
'0x2d8e2267779d27c2b3ed5408408ff15d9f3a3152': {
token: '0x2d8e2267779d27c2b3ed5408408ff15d9f3a3152',
secondsPerEpoch: BigInt.fromI32(3600),
secondsPerSubscription: BigInt.fromI32(86400),
truevalSubmitTimeout: BigInt.fromI32(259200),
stakeToken: '0x39d22b78a7651a76ffbde2aaab5fd92666aca520',
txId: '0xa974299eb88b5166b09fc35810e7ed5daf3e481a924b40d5d4e27c4c95224d1b',
timestamp: 1696238800,
block: 916127,
eventIndex: 6
},
'0x30f1c55e72fe105e4a1fbecdff3145fc14177695': {
token: '0x30f1c55e72fe105e4a1fbecdff3145fc14177695',
secondsPerEpoch: BigInt.fromI32(300),
secondsPerSubscription: BigInt.fromI32(86400),
truevalSubmitTimeout: BigInt.fromI32(259200),
stakeToken: '0x39d22b78a7651a76ffbde2aaab5fd92666aca520',
txId: '0xce9b9c9d7ca722c9e2e4aaf44bfa7072a895a6dc1c322ab3100b305248fc0e8b',
timestamp: 1696238041,
block: 916022,
eventIndex: 6
},
'0x31fabe1fc9887af45b77c7d1e13c5133444ebfbd': {
token: '0x31fabe1fc9887af45b77c7d1e13c5133444ebfbd',
secondsPerEpoch: BigInt.fromI32(300),
secondsPerSubscription: BigInt.fromI32(86400),
truevalSubmitTimeout: BigInt.fromI32(259200),
stakeToken: '0x39d22b78a7651a76ffbde2aaab5fd92666aca520',
txId: '0x5af1471bff7a5c6faed640c7b9b00013b5c9601ba10fb89ecc3119171a1de7aa',
timestamp: 1696238094,
block: 916031,
eventIndex: 6
},
'0x3fb744c3702ff2237fc65f261046ead36656f3bc': {
token: '0x3fb744c3702ff2237fc65f261046ead36656f3bc',
secondsPerEpoch: BigInt.fromI32(300),
secondsPerSubscription: BigInt.fromI32(86400),
truevalSubmitTimeout: BigInt.fromI32(259200),
stakeToken: '0x39d22b78a7651a76ffbde2aaab5fd92666aca520',
txId: '0x70276e2fa7abb87d6852d3a7cb6b349c53763351de458d7eb26207d02a37cdcf',
timestamp: 1696238281,
block: 916063,
eventIndex: 6
},
'0x55c6c33514f80b51a1f1b63c8ba229feb132cedb': {
token: '0x55c6c33514f80b51a1f1b63c8ba229feb132cedb',
secondsPerEpoch: BigInt.fromI32(300),
secondsPerSubscription: BigInt.fromI32(86400),
truevalSubmitTimeout: BigInt.fromI32(259200),
stakeToken: '0x39d22b78a7651a76ffbde2aaab5fd92666aca520',
txId: '0x248d3e16ff7a75c8e944576955c9e54711f05e3fb9cb79269c67770c79ba9d63',
timestamp: 1696238134,
block: 916038,
eventIndex: 6
},
'0x74a61f733bd9a2ce40d2e39738fe4912925c06dd': {
token: '0x74a61f733bd9a2ce40d2e39738fe4912925c06dd',
secondsPerEpoch: BigInt.fromI32(3600),
secondsPerSubscription: BigInt.fromI32(86400),
truevalSubmitTimeout: BigInt.fromI32(259200),
stakeToken: '0x39d22b78a7651a76ffbde2aaab5fd92666aca520',
txId: '0xa5581593120b51dfb93e4cfd2af041a15a344a405e94cd3f6ed43869089e86ac',
timestamp: 1696239037,
block: 916151,
eventIndex: 6
},
'0x8165caab33131a4ddbf7dc79f0a8a4920b0b2553': {
token: '0x8165caab33131a4ddbf7dc79f0a8a4920b0b2553',
secondsPerEpoch: BigInt.fromI32(3600),
secondsPerSubscription: BigInt.fromI32(86400),
truevalSubmitTimeout: BigInt.fromI32(259200),
stakeToken: '0x39d22b78a7651a76ffbde2aaab5fd92666aca520',
txId: '0x38d03c539ea164cce6e0a1b2fe17c7d49b25ec83a496ae2fa62bd050ecb06b6e',
timestamp: 1696238489,
block: 916097,
eventIndex: 6
},
'0x93f9d558ccde9ea371a20d36bd3ba58c7218b48f': {
token: '0x93f9d558ccde9ea371a20d36bd3ba58c7218b48f',
secondsPerEpoch: BigInt.fromI32(3600),
secondsPerSubscription: BigInt.fromI32(86400),
truevalSubmitTimeout: BigInt.fromI32(259200),
stakeToken: '0x39d22b78a7651a76ffbde2aaab5fd92666aca520',
txId: '0xe9f300bde7ec4a97c212a442d26cbd4b19437b871a29121e1abd5727b8ee2530',
timestamp: 1696239260,
block: 916176,
eventIndex: 6
},
'0x9c4a2406e5aa0f908d6e816e5318b9fc8a507e1f': {
token: '0x9c4a2406e5aa0f908d6e816e5318b9fc8a507e1f',
secondsPerEpoch: BigInt.fromI32(300),
secondsPerSubscription: BigInt.fromI32(86400),
truevalSubmitTimeout: BigInt.fromI32(259200),
stakeToken: '0x39d22b78a7651a76ffbde2aaab5fd92666aca520',
txId: '0x2362e758cdef66d19a23a7247d284c5ad91f0bec94f77aa197a6932a7e86f8e1',
timestamp: 1696238432,
block: 916088,
eventIndex: 6
},
'0xa2d9dbbdf21c30bb3e63d16ba75f644ac11a0cf0': {
token: '0xa2d9dbbdf21c30bb3e63d16ba75f644ac11a0cf0',
secondsPerEpoch: BigInt.fromI32(3600),
secondsPerSubscription: BigInt.fromI32(86400),
truevalSubmitTimeout: BigInt.fromI32(259200),
stakeToken: '0x39d22b78a7651a76ffbde2aaab5fd92666aca520',
txId: '0x6d2e3101a010a59ccf0523df75cbb282005fb549bc2df0921d1e80492d6bd170',
timestamp: 1696238863,
block: 916135,
eventIndex: 6
},
'0xaa6515c138183303b89b98aea756b54f711710c5': {
token: '0xaa6515c138183303b89b98aea756b54f711710c5',
secondsPerEpoch: BigInt.fromI32(3600),
secondsPerSubscription: BigInt.fromI32(86400),
truevalSubmitTimeout: BigInt.fromI32(259200),
stakeToken: '0x39d22b78a7651a76ffbde2aaab5fd92666aca520',
txId: '0x00e15733c922283fa243ce4a73e3ae636c66c0cabb7b1a81f40d4e5d05e1c1c7',
timestamp: 1696238618,
block: 916108,
eventIndex: 6
},
'0xb1c55346023dee4d8b0d7b10049f0c8854823766': {
token: '0xb1c55346023dee4d8b0d7b10049f0c8854823766',
secondsPerEpoch: BigInt.fromI32(300),
secondsPerSubscription: BigInt.fromI32(86400),
truevalSubmitTimeout: BigInt.fromI32(259200),
stakeToken: '0x39d22b78a7651a76ffbde2aaab5fd92666aca520',
txId: '0x643032ac88f837dca705aebf5f87dd024e6885ae4231606d17b4bc9f225a71b9',
timestamp: 1696238333,
block: 916072,
eventIndex: 6
},
'0xbe09c6e3f2341a79f74898b8d68c4b5818a2d434': {
token: '0xbe09c6e3f2341a79f74898b8d68c4b5818a2d434',
secondsPerEpoch: BigInt.fromI32(300),
secondsPerSubscription: BigInt.fromI32(86400),
truevalSubmitTimeout: BigInt.fromI32(259200),
stakeToken: '0x39d22b78a7651a76ffbde2aaab5fd92666aca520',
txId: '0xfd5700b09e1952f37bbff34b0b9d85f2887b81635ca0cf598bbfe373b273b798',
timestamp: 1696238240,
block: 916056,
eventIndex: 6
},
'0xd41ffee162905b45b65fa6b6e4468599f0490065': {
token: '0xd41ffee162905b45b65fa6b6e4468599f0490065',
secondsPerEpoch: BigInt.fromI32(3600),
secondsPerSubscription: BigInt.fromI32(86400),
truevalSubmitTimeout: BigInt.fromI32(259200),
stakeToken: '0x39d22b78a7651a76ffbde2aaab5fd92666aca520',
txId: '0x193d1060b4920aa9d1f7759a7090eec9c456d79f505b6230af94169f6dc31956',
timestamp: 1696238707,
block: 916118,
eventIndex: 6
},
'0xd49cbfd694f4556c00023ddd3559c36af3ae0a80': {
token: '0xd49cbfd694f4556c00023ddd3559c36af3ae0a80',
secondsPerEpoch: BigInt.fromI32(3600),
secondsPerSubscription: BigInt.fromI32(86400),
truevalSubmitTimeout: BigInt.fromI32(259200),
stakeToken: '0x39d22b78a7651a76ffbde2aaab5fd92666aca520',
txId: '0x40814d5f0ef24f3f9cf4b215081f7528b5de154243fcf59a7b454a5bc271f560',
timestamp: 1696239212,
block: 916168,
eventIndex: 6
},
'0xe66421fd29fc2d27d0724f161f01b8cbdcd69690': {
token: '0xe66421fd29fc2d27d0724f161f01b8cbdcd69690',
secondsPerEpoch: BigInt.fromI32(300),
secondsPerSubscription: BigInt.fromI32(86400),
truevalSubmitTimeout: BigInt.fromI32(259200),
stakeToken: '0x39d22b78a7651a76ffbde2aaab5fd92666aca520',
txId: '0x06f034e9b8bfb52e2e482ea7a32efa9eb9b4feded8c3c046ee0833378d120bac',
timestamp: 1696237984,
block: 916013,
eventIndex: 6
},
'0xf28c94c55d8c5e1d70ca3a82744225a4f7570b30': {
token: '0xf28c94c55d8c5e1d70ca3a82744225a4f7570b30',
secondsPerEpoch: BigInt.fromI32(300),
secondsPerSubscription: BigInt.fromI32(86400),
truevalSubmitTimeout: BigInt.fromI32(259200),
stakeToken: '0x39d22b78a7651a76ffbde2aaab5fd92666aca520',
txId: '0xe24cd880f5be9be7ce49309ddfebbaea5cce0cbbfc52a5d265705956efdcafe9',
timestamp: 1696238391,
block: 916081,
eventIndex: 6
},
'0xf8c34175fc1f1d373ec67c4fd1f1ce57c69c3fb3': {
token: '0xf8c34175fc1f1d373ec67c4fd1f1ce57c69c3fb3',
secondsPerEpoch: BigInt.fromI32(3600),
secondsPerSubscription: BigInt.fromI32(86400),
truevalSubmitTimeout: BigInt.fromI32(259200),
stakeToken: '0x39d22b78a7651a76ffbde2aaab5fd92666aca520',
txId: '0xced7e3cfa204914ae24d0e411a4eed8c3a5476b96c4bee00c77e55fe11fedcd6',
timestamp: 1696238944,
block: 916143,
eventIndex: 6
},
'0xfa69b2c1224cebb3b6a36fb5b8c3c419afab08dd': {
token: '0xfa69b2c1224cebb3b6a36fb5b8c3c419afab08dd',
secondsPerEpoch: BigInt.fromI32(3600),
secondsPerSubscription: BigInt.fromI32(86400),
truevalSubmitTimeout: BigInt.fromI32(259200),
stakeToken: '0x39d22b78a7651a76ffbde2aaab5fd92666aca520',
txId: '0xa252cf012e10da7a99ab26933a4fb273b289e82eb012463ee6e1a1f14f2617a5',
timestamp: 1696239124,
block: 916159,
eventIndex: 6
}
}
*/
export function createPredictContract(address: Address): PredictContract {
@ -381,52 +145,249 @@ export function createPredictContract(address: Address): PredictContract {
predictContract.block = 0
predictContract.eventIndex = 0
predictContract.paused = false
if (address.toHexString() === '0x18f54cc21b7a2fdd011bea06bba7801b280e3151') {
predictContract.secondsPerEpoch = BigInt.fromI32(300)
predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.txId =
'0xc6bdecd2c06b1c7fe350f0d375e14a3f0312756c4a659e8edfbf74567acba77e'
predictContract.timestamp = 1696238187
predictContract.block = 916047
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString() === '0x2d8e2267779d27c2b3ed5408408ff15d9f3a3152') {
predictContract.secondsPerEpoch = BigInt.fromI32(3600)
predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.txId =
'0xa974299eb88b5166b09fc35810e7ed5daf3e481a924b40d5d4e27c4c95224d1b'
predictContract.timestamp = 1696238800
predictContract.block = 916127
predictContract.eventIndex = 6
predictContract.paused = false
}
/*
if (
hardCodedContractData.hasOwnProperty(address.toHexString().toLowerCase())
) {
const contractData =
hardCodedContractData[address.toHexString().toLowerCase()]
predictContract.secondsPerEpoch = BigInt.fromI32(
contractData.secondsPerEpoch
)
predictContract.secondsPerSubscription = BigInt.fromI32(
contractData.secondsPerSubscription
)
predictContract.truevalSubmitTimeout = BigInt.fromI32(
contractData.truevalSubmitTimeout
)
predictContract.stakeToken = contractData.stakeToken
predictContract.txId = contractData.txId
predictContract.timestamp = contractData.timestamp
predictContract.block = contractData.block
predictContract.eventIndex = contractData.eventIndex
}
*/
if (address.toHexString().toLowerCase() === '0x18f54cc21b7a2fdd011bea06bba7801b280e3151') {
predictContract.secondsPerEpoch = BigInt.fromI32(300)
predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.txId = '0xc6bdecd2c06b1c7fe350f0d375e14a3f0312756c4a659e8edfbf74567acba77e'
predictContract.timestamp = 1696238187
predictContract.block = 916047
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0x2d8e2267779d27c2b3ed5408408ff15d9f3a3152') {
predictContract.secondsPerEpoch = BigInt.fromI32(3600)
predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.txId = '0xa974299eb88b5166b09fc35810e7ed5daf3e481a924b40d5d4e27c4c95224d1b'
predictContract.timestamp = 1696238800
predictContract.block = 916127
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0x30f1c55e72fe105e4a1fbecdff3145fc14177695') {
predictContract.secondsPerEpoch = BigInt.fromI32(300)
predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.txId = '0xce9b9c9d7ca722c9e2e4aaf44bfa7072a895a6dc1c322ab3100b305248fc0e8b'
predictContract.timestamp = 1696238041
predictContract.block = 916022
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0x31fabe1fc9887af45b77c7d1e13c5133444ebfbd') {
predictContract.secondsPerEpoch = BigInt.fromI32(300)
predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.txId = '0x5af1471bff7a5c6faed640c7b9b00013b5c9601ba10fb89ecc3119171a1de7aa'
predictContract.timestamp = 1696238094
predictContract.block = 916031
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0x3fb744c3702ff2237fc65f261046ead36656f3bc') {
predictContract.secondsPerEpoch = BigInt.fromI32(300)
predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.txId = '0x70276e2fa7abb87d6852d3a7cb6b349c53763351de458d7eb26207d02a37cdcf'
predictContract.timestamp = 1696238281
predictContract.block = 916063
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0x55c6c33514f80b51a1f1b63c8ba229feb132cedb') {
predictContract.secondsPerEpoch = BigInt.fromI32(300)
predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.txId = '0x248d3e16ff7a75c8e944576955c9e54711f05e3fb9cb79269c67770c79ba9d63'
predictContract.timestamp = 1696238134
predictContract.block = 916038
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0x74a61f733bd9a2ce40d2e39738fe4912925c06dd') {
predictContract.secondsPerEpoch = BigInt.fromI32(3600)
predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.txId = '0xa5581593120b51dfb93e4cfd2af041a15a344a405e94cd3f6ed43869089e86ac'
predictContract.timestamp = 1696239037
predictContract.block = 916151
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0x8165caab33131a4ddbf7dc79f0a8a4920b0b2553') {
predictContract.secondsPerEpoch = BigInt.fromI32(3600)
predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.txId = '0x38d03c539ea164cce6e0a1b2fe17c7d49b25ec83a496ae2fa62bd050ecb06b6e'
predictContract.timestamp = 1696238489
predictContract.block = 916097
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0x93f9d558ccde9ea371a20d36bd3ba58c7218b48f') {
predictContract.secondsPerEpoch = BigInt.fromI32(3600)
predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.txId = '0xe9f300bde7ec4a97c212a442d26cbd4b19437b871a29121e1abd5727b8ee2530'
predictContract.timestamp = 1696239260
predictContract.block = 916176
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0x9c4a2406e5aa0f908d6e816e5318b9fc8a507e1f') {
predictContract.secondsPerEpoch = BigInt.fromI32(300)
predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.txId = '0x2362e758cdef66d19a23a7247d284c5ad91f0bec94f77aa197a6932a7e86f8e1'
predictContract.timestamp = 1696238432
predictContract.block = 916088
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0xa2d9dbbdf21c30bb3e63d16ba75f644ac11a0cf0') {
predictContract.secondsPerEpoch = BigInt.fromI32(3600)
predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.txId = '0x6d2e3101a010a59ccf0523df75cbb282005fb549bc2df0921d1e80492d6bd170'
predictContract.timestamp = 1696238863
predictContract.block = 916135
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0xaa6515c138183303b89b98aea756b54f711710c5') {
predictContract.secondsPerEpoch = BigInt.fromI32(3600)
predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.txId = '0x00e15733c922283fa243ce4a73e3ae636c66c0cabb7b1a81f40d4e5d05e1c1c7'
predictContract.timestamp = 1696238618
predictContract.block = 916108
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0xb1c55346023dee4d8b0d7b10049f0c8854823766') {
predictContract.secondsPerEpoch = BigInt.fromI32(300)
predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.txId = '0x643032ac88f837dca705aebf5f87dd024e6885ae4231606d17b4bc9f225a71b9'
predictContract.timestamp = 1696238333
predictContract.block = 916072
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0xbe09c6e3f2341a79f74898b8d68c4b5818a2d434') {
predictContract.secondsPerEpoch = BigInt.fromI32(300)
predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.txId = '0xfd5700b09e1952f37bbff34b0b9d85f2887b81635ca0cf598bbfe373b273b798'
predictContract.timestamp = 1696238240
predictContract.block = 916056
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0xd41ffee162905b45b65fa6b6e4468599f0490065') {
predictContract.secondsPerEpoch = BigInt.fromI32(3600)
predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.txId = '0x193d1060b4920aa9d1f7759a7090eec9c456d79f505b6230af94169f6dc31956'
predictContract.timestamp = 1696238707
predictContract.block = 916118
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0xd49cbfd694f4556c00023ddd3559c36af3ae0a80') {
predictContract.secondsPerEpoch = BigInt.fromI32(3600)
predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.txId = '0x40814d5f0ef24f3f9cf4b215081f7528b5de154243fcf59a7b454a5bc271f560'
predictContract.timestamp = 1696239212
predictContract.block = 916168
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0xe66421fd29fc2d27d0724f161f01b8cbdcd69690') {
predictContract.secondsPerEpoch = BigInt.fromI32(300)
predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.txId = '0x06f034e9b8bfb52e2e482ea7a32efa9eb9b4feded8c3c046ee0833378d120bac'
predictContract.timestamp = 1696237984
predictContract.block = 916013
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0xf28c94c55d8c5e1d70ca3a82744225a4f7570b30') {
predictContract.secondsPerEpoch = BigInt.fromI32(300)
predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.txId = '0xe24cd880f5be9be7ce49309ddfebbaea5cce0cbbfc52a5d265705956efdcafe9'
predictContract.timestamp = 1696238391
predictContract.block = 916081
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0xf8c34175fc1f1d373ec67c4fd1f1ce57c69c3fb3') {
predictContract.secondsPerEpoch = BigInt.fromI32(3600)
predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.txId = '0xced7e3cfa204914ae24d0e411a4eed8c3a5476b96c4bee00c77e55fe11fedcd6'
predictContract.timestamp = 1696238944
predictContract.block = 916143
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0xfa69b2c1224cebb3b6a36fb5b8c3c419afab08dd') {
predictContract.secondsPerEpoch = BigInt.fromI32(3600)
predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.txId = '0xa252cf012e10da7a99ab26933a4fb273b289e82eb012463ee6e1a1f14f2617a5'
predictContract.timestamp = 1696239124
predictContract.block = 916159
predictContract.eventIndex = 6
predictContract.paused = false
}
predictContract.save()
return predictContract