1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

hardened contract handler

This commit is contained in:
Sebastian Gerske 2018-11-08 08:23:00 +01:00
parent e5a285f17a
commit ff8a904f09

View File

@ -15,11 +15,11 @@ export default class ContractHandler {
}
}
public static set(name: string, contractInstance: Contract) {
protected static set(name: string, contractInstance: Contract) {
ContractHandler.contracts.set(name, contractInstance)
}
public static has(name: string): boolean {
protected static has(name: string): boolean {
return ContractHandler.contracts.has(name)
}