use ERC20 datatype

This commit is contained in:
hueso
2023-05-22 08:53:22 -03:00
parent 95463cdfa3
commit b571d6c47e
8 changed files with 33 additions and 31 deletions

View File

@@ -31,7 +31,7 @@ abstract contract OwnerSettings is
uint256 defaultBlocks,
address[] memory validSigners,
address _reputation,
address[] memory tokens,
ERC20[] memory tokens,
bool[] memory tokenStates
) {
setDefaultLockBlocks(defaultBlocks);
@@ -133,7 +133,7 @@ abstract contract OwnerSettings is
}
function tokenSettings(
address[] memory _tokens,
ERC20[] memory _tokens,
bool[] memory _states
) public onlyOwner {
/* Yul Impl */