mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-12-02 05:57:29 +01:00
use interface
This commit is contained in:
parent
306bf05a25
commit
9cdf0f68f0
@ -130,7 +130,7 @@ export function getErc20TemplateId(address: Address): BigInt {
|
|||||||
return BigInt.zero()
|
return BigInt.zero()
|
||||||
}
|
}
|
||||||
|
|
||||||
type HardCodedContractData = {
|
interface HardCodedContractData = {
|
||||||
token: string;
|
token: string;
|
||||||
secondsPerEpoch: number;
|
secondsPerEpoch: number;
|
||||||
secondsPerSubscription: number;
|
secondsPerSubscription: number;
|
||||||
@ -142,7 +142,7 @@ type HardCodedContractData = {
|
|||||||
eventIndex: number;
|
eventIndex: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
type HardCodedContractDataType = { [key: string]: HardCodedContractData };
|
interface HardCodedContractDataType = { [key: string]: HardCodedContractData };
|
||||||
|
|
||||||
const hardCodedContractData: HardCodedContractDataType = {
|
const hardCodedContractData: HardCodedContractDataType = {
|
||||||
"0x18f54cc21b7a2fdd011bea06bba7801b280e3151": {
|
"0x18f54cc21b7a2fdd011bea06bba7801b280e3151": {
|
||||||
|
Loading…
Reference in New Issue
Block a user