Merge branch 'mission-save-predictoor' of https://github.com/oceanprotocol/ocean-subgraph into mission-save-predictoor

This commit is contained in:
alexcos20 2024-07-21 22:47:59 +03:00
commit 432446812c

View File

@ -131,30 +131,30 @@ export function getErc20TemplateId(address: Address): BigInt {
} }
/* /*
type HardCodedContractData = { type HardCodedContractData = {
token: string token: string;
secondsPerEpoch: BigInt secondsPerEpoch: number;
secondsPerSubscription: BigInt secondsPerSubscription: number;
truevalSubmitTimeout: BigInt truevalSubmitTimeout: number;
stakeToken: string stakeToken: string;
txId: string txId: string;
timestamp: number timestamp: number;
block: number block: number;
eventIndex: number eventIndex: number;
} };
type HardCodedContractDataType = { [key: string]: HardCodedContractData } type HardCodedContractDataType = { [key: string]: HardCodedContractData };
const hardCodedContractData: HardCodedContractDataType = { const hardCodedContractData: HardCodedContractDataType = {
'0x18f54cc21b7a2fdd011bea06bba7801b280e3151': { "0x18f54cc21b7a2fdd011bea06bba7801b280e3151": {
token: '0x18f54cc21b7a2fdd011bea06bba7801b280e3151', "token": "0x18f54cc21b7a2fdd011bea06bba7801b280e3151",
secondsPerEpoch: BigInt.fromI32(300), "secondsPerEpoch": 300,
secondsPerSubscription: BigInt.fromI32(86400), "secondsPerSubscription": 86400,
truevalSubmitTimeout: BigInt.fromI32(259200), "truevalSubmitTimeout": 259200,
stakeToken: '0x39d22b78a7651a76ffbde2aaab5fd92666aca520', "stakeToken": "0x39d22b78a7651a76ffbde2aaab5fd92666aca520",
txId: '0xc6bdecd2c06b1c7fe350f0d375e14a3f0312756c4a659e8edfbf74567acba77e', "txId": "0xc6bdecd2c06b1c7fe350f0d375e14a3f0312756c4a659e8edfbf74567acba77e",
timestamp: 1696238187, "timestamp": 1696238187,
block: 916047, "block": 916047,
eventIndex: 6 "eventIndex": 6
}, },
'0x2d8e2267779d27c2b3ed5408408ff15d9f3a3152': { '0x2d8e2267779d27c2b3ed5408408ff15d9f3a3152': {
token: '0x2d8e2267779d27c2b3ed5408408ff15d9f3a3152', token: '0x2d8e2267779d27c2b3ed5408408ff15d9f3a3152',