Base contract inherited by {TokenManagerAdmin} and {TokenManagerAssets}. Keeps addresses of contracts needed for {TokenManager} functionality
Contract Members
Constants & Variables
Address of the {ElektroRegistryRouter}
address public elektroRegistry;
Address of Ether (ETH). This is used internally to differentiate between ERC20 tokens and ETH. Any fund related operation check token address against this one to verify if the token in the operation is ETH or not. If it is - we need to do a different flow for managing it.
address public ethereumAddress;
Address of the {TokenWrapper}
address internal tokenWrapper;
Address of Wrapped Ethereum (WETH). This is used internally to differentiate between other ERC20 tokens and WETH. Any fund related operation check token address against this one to verify if the token in the operation is WETH or not. If it is - we need to do a different flow for managing it.
address internal weth9Address;
BankRegistrySet
Parameters
Name
Type
Description
bankRegistryAddress
address
ElektroRegistrySet
Parameters
Name
Type
Description
elektroRegistryAddress
address
EthereumAddressSet
Parameters
Name
Type
Description
etherAddress
address
WETH9AddressSet
Parameters
Name
Type
Description
weth9Address
address
TokenWrapperSet
Parameters
Name
Type
Description
tokenWrapperAddress
address
Modifiers
onlyAllowedContracts
onlyAllowedContracts
Only contracts that are verified by Registry are allowed