From 14a76639096e27c1323981ff2cdd30e53ec20e86 Mon Sep 17 00:00:00 2001 From: Pedro Valido <80268365+pedrovalido@users.noreply.github.com> Date: Sun, 6 Oct 2024 03:08:29 +0100 Subject: [PATCH] chore: expose count and map --- contracts/helpers/FactoryRegistry.vy | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/contracts/helpers/FactoryRegistry.vy b/contracts/helpers/FactoryRegistry.vy index cf6052f..63c7b34 100644 --- a/contracts/helpers/FactoryRegistry.vy +++ b/contracts/helpers/FactoryRegistry.vy @@ -9,9 +9,8 @@ MAX_FACTORIES: public(constant(uint256)) = 10 owner: public(address) poolFactories: public(DynArray[address, MAX_FACTORIES]) # camelCase to have same signature as origin registry - -pool_factory_count: uint256 -pool_factory_exists: HashMap[address, bool] +pool_factory_count: public(uint256) +pool_factory_exists: public(HashMap[address, bool]) @external def __init__(_owner: address):