mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-12-02 05:57:29 +01:00
Fix data type
This commit is contained in:
parent
ff8d3d61d9
commit
baea52cc43
@ -130,8 +130,7 @@ export function getErc20TemplateId(address: Address): BigInt {
|
|||||||
return BigInt.zero()
|
return BigInt.zero()
|
||||||
}
|
}
|
||||||
|
|
||||||
declare const hardCodedContractData: {
|
type ContractData = {
|
||||||
[key: string]: {
|
|
||||||
token: string;
|
token: string;
|
||||||
secondsPerEpoch: i32;
|
secondsPerEpoch: i32;
|
||||||
secondsPerSubscription: i32;
|
secondsPerSubscription: i32;
|
||||||
@ -141,10 +140,11 @@ declare const hardCodedContractData: {
|
|||||||
timestamp: i32;
|
timestamp: i32;
|
||||||
block: i32;
|
block: i32;
|
||||||
eventIndex: i32;
|
eventIndex: i32;
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const hardCodedContractData = {
|
type HardCodedContractDataType = { [key: string]: ContractData };
|
||||||
|
|
||||||
|
const hardCodedContractData: HardCodedContractDataType = {
|
||||||
"0x18f54cc21b7a2fdd011bea06bba7801b280e3151": {
|
"0x18f54cc21b7a2fdd011bea06bba7801b280e3151": {
|
||||||
"token": "0x18f54cc21b7a2fdd011bea06bba7801b280e3151",
|
"token": "0x18f54cc21b7a2fdd011bea06bba7801b280e3151",
|
||||||
"secondsPerEpoch": 300,
|
"secondsPerEpoch": 300,
|
||||||
|
Loading…
Reference in New Issue
Block a user