Function: registerAsset(IERC20 asset, BlackwingVaultToken vaultToken, IDeployer deployer)
This function is used to register a pool of asset in the vault.
Inputs
assetControl: Arbitrary.
Constraints: None.
Impact: Address of the asset.
vaultTokenControl: Arbitrary.
Constraints: None.
Impact: Address of the vault token.
deployerControl: Arbitrary.
Constraints: None.
Impact: Address of the deployer.
Branches and code coverage
Intended branches
Update the pool info with provided asset, vault token, and deployer.
Negative behavior
Reverts if the caller is not the owner.
Reverts if target pool is already registered.