lowercase

This commit is contained in:
alexcos20 2024-07-21 23:20:02 +03:00
parent d56b69196d
commit 6bcddca6eb

View File

@ -130,7 +130,6 @@ export function getErc20TemplateId(address: Address): BigInt {
return BigInt.zero() return BigInt.zero()
} }
export function createPredictContract(address: Address): PredictContract { export function createPredictContract(address: Address): PredictContract {
const predictContract = new PredictContract(address.toHexString()) const predictContract = new PredictContract(address.toHexString())
const token = getToken(address, true) const token = getToken(address, true)
@ -145,248 +144,325 @@ export function createPredictContract(address: Address): PredictContract {
predictContract.eventIndex = 0 predictContract.eventIndex = 0
predictContract.paused = false predictContract.paused = false
if (address.toHexString().toLowerCase() === '0x18f54cc21b7a2fdd011bea06bba7801b280e3151') { if (
predictContract.secondsPerEpoch = BigInt.fromI32(300) address.toHexString().toLowerCase() ===
predictContract.secondsPerSubscription = BigInt.fromI32(86400) '0x18f54cc21b7a2fdd011bea06bba7801b280e3151'.toLowerCase()
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200) ) {
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520' predictContract.secondsPerEpoch = BigInt.fromI32(300)
predictContract.txId = '0xc6bdecd2c06b1c7fe350f0d375e14a3f0312756c4a659e8edfbf74567acba77e' predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.timestamp = 1696238187 predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.block = 916047 predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.eventIndex = 6 predictContract.txId =
predictContract.paused = false '0xc6bdecd2c06b1c7fe350f0d375e14a3f0312756c4a659e8edfbf74567acba77e'
} predictContract.timestamp = 1696238187
predictContract.block = 916047
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0x2d8e2267779d27c2b3ed5408408ff15d9f3a3152') { if (
predictContract.secondsPerEpoch = BigInt.fromI32(3600) address.toHexString().toLowerCase() ===
predictContract.secondsPerSubscription = BigInt.fromI32(86400) '0x2d8e2267779d27c2b3ed5408408ff15d9f3a3152'.toLowerCase()
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200) ) {
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520' predictContract.secondsPerEpoch = BigInt.fromI32(3600)
predictContract.txId = '0xa974299eb88b5166b09fc35810e7ed5daf3e481a924b40d5d4e27c4c95224d1b' predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.timestamp = 1696238800 predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.block = 916127 predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.eventIndex = 6 predictContract.txId =
predictContract.paused = false '0xa974299eb88b5166b09fc35810e7ed5daf3e481a924b40d5d4e27c4c95224d1b'
} predictContract.timestamp = 1696238800
predictContract.block = 916127
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0x30f1c55e72fe105e4a1fbecdff3145fc14177695') { if (
predictContract.secondsPerEpoch = BigInt.fromI32(300) address.toHexString().toLowerCase() ===
predictContract.secondsPerSubscription = BigInt.fromI32(86400) '0x30f1c55e72fe105e4a1fbecdff3145fc14177695'.toLowerCase()
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200) ) {
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520' predictContract.secondsPerEpoch = BigInt.fromI32(300)
predictContract.txId = '0xce9b9c9d7ca722c9e2e4aaf44bfa7072a895a6dc1c322ab3100b305248fc0e8b' predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.timestamp = 1696238041 predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.block = 916022 predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.eventIndex = 6 predictContract.txId =
predictContract.paused = false '0xce9b9c9d7ca722c9e2e4aaf44bfa7072a895a6dc1c322ab3100b305248fc0e8b'
} predictContract.timestamp = 1696238041
predictContract.block = 916022
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0x31fabe1fc9887af45b77c7d1e13c5133444ebfbd') { if (
predictContract.secondsPerEpoch = BigInt.fromI32(300) address.toHexString().toLowerCase() ===
predictContract.secondsPerSubscription = BigInt.fromI32(86400) '0x31fabe1fc9887af45b77c7d1e13c5133444ebfbd'.toLowerCase()
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200) ) {
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520' predictContract.secondsPerEpoch = BigInt.fromI32(300)
predictContract.txId = '0x5af1471bff7a5c6faed640c7b9b00013b5c9601ba10fb89ecc3119171a1de7aa' predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.timestamp = 1696238094 predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.block = 916031 predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.eventIndex = 6 predictContract.txId =
predictContract.paused = false '0x5af1471bff7a5c6faed640c7b9b00013b5c9601ba10fb89ecc3119171a1de7aa'
} predictContract.timestamp = 1696238094
predictContract.block = 916031
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0x3fb744c3702ff2237fc65f261046ead36656f3bc') { if (
predictContract.secondsPerEpoch = BigInt.fromI32(300) address.toHexString().toLowerCase() ===
predictContract.secondsPerSubscription = BigInt.fromI32(86400) '0x3fb744c3702ff2237fc65f261046ead36656f3bc'.toLowerCase()
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200) ) {
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520' predictContract.secondsPerEpoch = BigInt.fromI32(300)
predictContract.txId = '0x70276e2fa7abb87d6852d3a7cb6b349c53763351de458d7eb26207d02a37cdcf' predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.timestamp = 1696238281 predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.block = 916063 predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.eventIndex = 6 predictContract.txId =
predictContract.paused = false '0x70276e2fa7abb87d6852d3a7cb6b349c53763351de458d7eb26207d02a37cdcf'
} predictContract.timestamp = 1696238281
predictContract.block = 916063
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0x55c6c33514f80b51a1f1b63c8ba229feb132cedb') { if (
predictContract.secondsPerEpoch = BigInt.fromI32(300) address.toHexString().toLowerCase() ===
predictContract.secondsPerSubscription = BigInt.fromI32(86400) '0x55c6c33514f80b51a1f1b63c8ba229feb132cedb'.toLowerCase()
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200) ) {
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520' predictContract.secondsPerEpoch = BigInt.fromI32(300)
predictContract.txId = '0x248d3e16ff7a75c8e944576955c9e54711f05e3fb9cb79269c67770c79ba9d63' predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.timestamp = 1696238134 predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.block = 916038 predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.eventIndex = 6 predictContract.txId =
predictContract.paused = false '0x248d3e16ff7a75c8e944576955c9e54711f05e3fb9cb79269c67770c79ba9d63'
} predictContract.timestamp = 1696238134
predictContract.block = 916038
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0x74a61f733bd9a2ce40d2e39738fe4912925c06dd') { if (
predictContract.secondsPerEpoch = BigInt.fromI32(3600) address.toHexString().toLowerCase() ===
predictContract.secondsPerSubscription = BigInt.fromI32(86400) '0x74a61f733bd9a2ce40d2e39738fe4912925c06dd'.toLowerCase()
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200) ) {
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520' predictContract.secondsPerEpoch = BigInt.fromI32(3600)
predictContract.txId = '0xa5581593120b51dfb93e4cfd2af041a15a344a405e94cd3f6ed43869089e86ac' predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.timestamp = 1696239037 predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.block = 916151 predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.eventIndex = 6 predictContract.txId =
predictContract.paused = false '0xa5581593120b51dfb93e4cfd2af041a15a344a405e94cd3f6ed43869089e86ac'
} predictContract.timestamp = 1696239037
predictContract.block = 916151
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0x8165caab33131a4ddbf7dc79f0a8a4920b0b2553') { if (
predictContract.secondsPerEpoch = BigInt.fromI32(3600) address.toHexString().toLowerCase() ===
predictContract.secondsPerSubscription = BigInt.fromI32(86400) '0x8165caab33131a4ddbf7dc79f0a8a4920b0b2553'.toLowerCase()
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200) ) {
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520' predictContract.secondsPerEpoch = BigInt.fromI32(3600)
predictContract.txId = '0x38d03c539ea164cce6e0a1b2fe17c7d49b25ec83a496ae2fa62bd050ecb06b6e' predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.timestamp = 1696238489 predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.block = 916097 predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.eventIndex = 6 predictContract.txId =
predictContract.paused = false '0x38d03c539ea164cce6e0a1b2fe17c7d49b25ec83a496ae2fa62bd050ecb06b6e'
} predictContract.timestamp = 1696238489
predictContract.block = 916097
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0x93f9d558ccde9ea371a20d36bd3ba58c7218b48f') { if (
predictContract.secondsPerEpoch = BigInt.fromI32(3600) address.toHexString().toLowerCase() ===
predictContract.secondsPerSubscription = BigInt.fromI32(86400) '0x93f9d558ccde9ea371a20d36bd3ba58c7218b48f'.toLowerCase()
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200) ) {
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520' predictContract.secondsPerEpoch = BigInt.fromI32(3600)
predictContract.txId = '0xe9f300bde7ec4a97c212a442d26cbd4b19437b871a29121e1abd5727b8ee2530' predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.timestamp = 1696239260 predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.block = 916176 predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.eventIndex = 6 predictContract.txId =
predictContract.paused = false '0xe9f300bde7ec4a97c212a442d26cbd4b19437b871a29121e1abd5727b8ee2530'
} predictContract.timestamp = 1696239260
predictContract.block = 916176
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0x9c4a2406e5aa0f908d6e816e5318b9fc8a507e1f') { if (
predictContract.secondsPerEpoch = BigInt.fromI32(300) address.toHexString().toLowerCase() ===
predictContract.secondsPerSubscription = BigInt.fromI32(86400) '0x9c4a2406e5aa0f908d6e816e5318b9fc8a507e1f'.toLowerCase()
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200) ) {
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520' predictContract.secondsPerEpoch = BigInt.fromI32(300)
predictContract.txId = '0x2362e758cdef66d19a23a7247d284c5ad91f0bec94f77aa197a6932a7e86f8e1' predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.timestamp = 1696238432 predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.block = 916088 predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.eventIndex = 6 predictContract.txId =
predictContract.paused = false '0x2362e758cdef66d19a23a7247d284c5ad91f0bec94f77aa197a6932a7e86f8e1'
} predictContract.timestamp = 1696238432
predictContract.block = 916088
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0xa2d9dbbdf21c30bb3e63d16ba75f644ac11a0cf0') { if (
predictContract.secondsPerEpoch = BigInt.fromI32(3600) address.toHexString().toLowerCase() ===
predictContract.secondsPerSubscription = BigInt.fromI32(86400) '0xa2d9dbbdf21c30bb3e63d16ba75f644ac11a0cf0'.toLowerCase()
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200) ) {
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520' predictContract.secondsPerEpoch = BigInt.fromI32(3600)
predictContract.txId = '0x6d2e3101a010a59ccf0523df75cbb282005fb549bc2df0921d1e80492d6bd170' predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.timestamp = 1696238863 predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.block = 916135 predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.eventIndex = 6 predictContract.txId =
predictContract.paused = false '0x6d2e3101a010a59ccf0523df75cbb282005fb549bc2df0921d1e80492d6bd170'
} predictContract.timestamp = 1696238863
predictContract.block = 916135
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0xaa6515c138183303b89b98aea756b54f711710c5') { if (
predictContract.secondsPerEpoch = BigInt.fromI32(3600) address.toHexString().toLowerCase() ===
predictContract.secondsPerSubscription = BigInt.fromI32(86400) '0xaa6515c138183303b89b98aea756b54f711710c5'.toLowerCase()
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200) ) {
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520' predictContract.secondsPerEpoch = BigInt.fromI32(3600)
predictContract.txId = '0x00e15733c922283fa243ce4a73e3ae636c66c0cabb7b1a81f40d4e5d05e1c1c7' predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.timestamp = 1696238618 predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.block = 916108 predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.eventIndex = 6 predictContract.txId =
predictContract.paused = false '0x00e15733c922283fa243ce4a73e3ae636c66c0cabb7b1a81f40d4e5d05e1c1c7'
} predictContract.timestamp = 1696238618
predictContract.block = 916108
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0xb1c55346023dee4d8b0d7b10049f0c8854823766') { if (
predictContract.secondsPerEpoch = BigInt.fromI32(300) address.toHexString().toLowerCase() ===
predictContract.secondsPerSubscription = BigInt.fromI32(86400) '0xb1c55346023dee4d8b0d7b10049f0c8854823766'.toLowerCase()
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200) ) {
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520' predictContract.secondsPerEpoch = BigInt.fromI32(300)
predictContract.txId = '0x643032ac88f837dca705aebf5f87dd024e6885ae4231606d17b4bc9f225a71b9' predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.timestamp = 1696238333 predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.block = 916072 predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.eventIndex = 6 predictContract.txId =
predictContract.paused = false '0x643032ac88f837dca705aebf5f87dd024e6885ae4231606d17b4bc9f225a71b9'
} predictContract.timestamp = 1696238333
predictContract.block = 916072
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0xbe09c6e3f2341a79f74898b8d68c4b5818a2d434') { if (
predictContract.secondsPerEpoch = BigInt.fromI32(300) address.toHexString().toLowerCase() ===
predictContract.secondsPerSubscription = BigInt.fromI32(86400) '0xbe09c6e3f2341a79f74898b8d68c4b5818a2d434'.toLowerCase()
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200) ) {
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520' predictContract.secondsPerEpoch = BigInt.fromI32(300)
predictContract.txId = '0xfd5700b09e1952f37bbff34b0b9d85f2887b81635ca0cf598bbfe373b273b798' predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.timestamp = 1696238240 predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.block = 916056 predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.eventIndex = 6 predictContract.txId =
predictContract.paused = false '0xfd5700b09e1952f37bbff34b0b9d85f2887b81635ca0cf598bbfe373b273b798'
} predictContract.timestamp = 1696238240
predictContract.block = 916056
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0xd41ffee162905b45b65fa6b6e4468599f0490065') { if (
predictContract.secondsPerEpoch = BigInt.fromI32(3600) address.toHexString().toLowerCase() ===
predictContract.secondsPerSubscription = BigInt.fromI32(86400) '0xd41ffee162905b45b65fa6b6e4468599f0490065'.toLowerCase()
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200) ) {
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520' predictContract.secondsPerEpoch = BigInt.fromI32(3600)
predictContract.txId = '0x193d1060b4920aa9d1f7759a7090eec9c456d79f505b6230af94169f6dc31956' predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.timestamp = 1696238707 predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.block = 916118 predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.eventIndex = 6 predictContract.txId =
predictContract.paused = false '0x193d1060b4920aa9d1f7759a7090eec9c456d79f505b6230af94169f6dc31956'
} predictContract.timestamp = 1696238707
predictContract.block = 916118
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0xd49cbfd694f4556c00023ddd3559c36af3ae0a80') { if (
predictContract.secondsPerEpoch = BigInt.fromI32(3600) address.toHexString().toLowerCase() ===
predictContract.secondsPerSubscription = BigInt.fromI32(86400) '0xd49cbfd694f4556c00023ddd3559c36af3ae0a80'.toLowerCase()
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200) ) {
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520' predictContract.secondsPerEpoch = BigInt.fromI32(3600)
predictContract.txId = '0x40814d5f0ef24f3f9cf4b215081f7528b5de154243fcf59a7b454a5bc271f560' predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.timestamp = 1696239212 predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.block = 916168 predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.eventIndex = 6 predictContract.txId =
predictContract.paused = false '0x40814d5f0ef24f3f9cf4b215081f7528b5de154243fcf59a7b454a5bc271f560'
} predictContract.timestamp = 1696239212
predictContract.block = 916168
predictContract.eventIndex = 6
predictContract.paused = false
}
if (address.toHexString().toLowerCase() === '0xe66421fd29fc2d27d0724f161f01b8cbdcd69690') { if (
predictContract.secondsPerEpoch = BigInt.fromI32(300) address.toHexString().toLowerCase() ===
predictContract.secondsPerSubscription = BigInt.fromI32(86400) '0xe66421fd29fc2d27d0724f161f01b8cbdcd69690'.toLowerCase()
predictContract.truevalSubmitTimeout = BigInt.fromI32(259200) ) {
predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520' predictContract.secondsPerEpoch = BigInt.fromI32(300)
predictContract.txId = '0x06f034e9b8bfb52e2e482ea7a32efa9eb9b4feded8c3c046ee0833378d120bac' predictContract.secondsPerSubscription = BigInt.fromI32(86400)
predictContract.timestamp = 1696237984 predictContract.truevalSubmitTimeout = BigInt.fromI32(259200)
predictContract.block = 916013 predictContract.stakeToken = '0x39d22b78a7651a76ffbde2aaab5fd92666aca520'
predictContract.eventIndex = 6 predictContract.txId =
predictContract.paused = false '0x06f034e9b8bfb52e2e482ea7a32efa9eb9b4feded8c3c046ee0833378d120bac'
} predictContract.timestamp = 1696237984
predictContract.block = 916013
if (address.toHexString().toLowerCase() === '0xf28c94c55d8c5e1d70ca3a82744225a4f7570b30') { predictContract.eventIndex = 6
predictContract.secondsPerEpoch = BigInt.fromI32(300) predictContract.paused = false
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
}
if (
address.toHexString().toLowerCase() ===
'0xf28c94c55d8c5e1d70ca3a82744225a4f7570b30'.toLowerCase()
) {
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'.toLowerCase()
) {
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'.toLowerCase()
) {
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() predictContract.save()
return predictContract return predictContract