|
|
@ -49,10 +49,6 @@ def _whitelisted_modifiers(f: Function) -> bool: |
|
|
|
# https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/blob/3dec82093ea4a490d63aab3e925fed4f692909e8/contracts/proxy/utils/UUPSUpgradeable.sol#L38-L42 |
|
|
|
# https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/blob/3dec82093ea4a490d63aab3e925fed4f692909e8/contracts/proxy/utils/UUPSUpgradeable.sol#L38-L42 |
|
|
|
return "onlyProxy" not in [modifier.name for modifier in f.modifiers] |
|
|
|
return "onlyProxy" not in [modifier.name for modifier in f.modifiers] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import re |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def _initialize_functions(contract: Contract) -> List[Function]: |
|
|
|
def _initialize_functions(contract: Contract) -> List[Function]: |
|
|
|
return list( |
|
|
|
return list( |
|
|
|
filter( |
|
|
|
filter( |
|
|
|